mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-07 06:25:03 +00:00
[ci/fedora-valgrind] Add time multiplier of 10 and run slow tests
This commit is contained in:
parent
fc4d507770
commit
6738ee3d1b
3 changed files with 8 additions and 11 deletions
|
@ -56,8 +56,7 @@ jobs:
|
|||
- run: dnf install -y pkg-config ragel valgrind gcc gcc-c++ meson git glib2-devel freetype-devel cairo-devel libicu-devel gobject-introspection-devel graphite2-devel redhat-rpm-config python python-pip || true
|
||||
- run: meson setup build --buildtype=debugoptimized
|
||||
- run: meson compile -Cbuild -j9
|
||||
# TOOD: increase timeouts and remove --no-suite=slow
|
||||
- run: RUN_VALGRIND=1 meson test -Cbuild --no-suite=slow --wrap='valgrind --leak-check=full --error-exitcode=1' --print-errorlogs --num-processes=$(($(nproc)/2 + 1))
|
||||
- run: RUN_VALGRIND=1 meson test -Cbuild -t 10 --no-suite=slow --wrap='valgrind --leak-check=full --error-exitcode=1' --print-errorlogs --num-processes=$(($(nproc)/2 + 1))
|
||||
|
||||
alpine:
|
||||
docker:
|
||||
|
|
|
@ -37,11 +37,11 @@ endforeach
|
|||
env = environment()
|
||||
env.set('srcdir', meson.current_source_dir())
|
||||
|
||||
test('shape_fuzzer', find_program('run-shape-fuzzer-tests.py'),
|
||||
test('shape-fuzzer', find_program('run-shape-fuzzer-tests.py'),
|
||||
args: [
|
||||
hb_shape_fuzzer_exe,
|
||||
],
|
||||
timeout: 300,
|
||||
timeout: 90,
|
||||
depends: [hb_shape_fuzzer_exe, libharfbuzz, libharfbuzz_subset],
|
||||
workdir: meson.current_build_dir() / '..' / '..',
|
||||
env: env,
|
||||
|
@ -49,33 +49,31 @@ test('shape_fuzzer', find_program('run-shape-fuzzer-tests.py'),
|
|||
suite: ['fuzzing', 'slow'],
|
||||
)
|
||||
|
||||
test('subset_fuzzer', find_program('run-subset-fuzzer-tests.py'),
|
||||
test('subset-fuzzer', find_program('run-subset-fuzzer-tests.py'),
|
||||
args: [
|
||||
hb_subset_fuzzer_exe,
|
||||
],
|
||||
timeout: 300,
|
||||
timeout: 90,
|
||||
workdir: meson.current_build_dir() / '..' / '..',
|
||||
env: env,
|
||||
priority: 1,
|
||||
suite: ['fuzzing', 'slow'],
|
||||
)
|
||||
|
||||
test('repacker_fuzzer', find_program('run-repacker-fuzzer-tests.py'),
|
||||
test('repacker-fuzzer', find_program('run-repacker-fuzzer-tests.py'),
|
||||
args: [
|
||||
hb_repacker_fuzzer_exe,
|
||||
],
|
||||
timeout: 300,
|
||||
workdir: meson.current_build_dir() / '..' / '..',
|
||||
env: env,
|
||||
priority: 1,
|
||||
suite: ['fuzzing', 'slow'],
|
||||
suite: ['fuzzing'],
|
||||
)
|
||||
|
||||
test('draw_fuzzer', find_program('run-draw-fuzzer-tests.py'),
|
||||
test('draw-fuzzer', find_program('run-draw-fuzzer-tests.py'),
|
||||
args: [
|
||||
hb_draw_fuzzer_exe,
|
||||
],
|
||||
timeout: 300,
|
||||
workdir: meson.current_build_dir() / '..' / '..',
|
||||
env: env,
|
||||
suite: ['fuzzing'],
|
||||
|
|
0
test/fuzzing/run-repacker-fuzzer-tests.py
Normal file → Executable file
0
test/fuzzing/run-repacker-fuzzer-tests.py
Normal file → Executable file
Loading…
Add table
Reference in a new issue