[meson] Mark longer tests with slow

So one can skip them easily by `meson test -Cbuild --no-suite slow`
This commit is contained in:
Ebrahim Byagowi 2020-06-21 02:34:59 +04:30
parent 47dedc7500
commit 47a0fbec31
3 changed files with 4 additions and 4 deletions

View File

@ -680,7 +680,7 @@ if get_option('tests').enabled()
test(name, find_program(name + '.py'),
env: env,
depends: name == 'check-symbols' ? defs_list : [],
suite: ['src'],
suite: ['src'] + (name == 'check-static-inits' ? ['slow'] : []),
)
endforeach
endif

View File

@ -28,7 +28,7 @@ test('shape_fuzzer', find_program('run-shape-fuzzer-tests.py'),
depends: [hb_shape_fuzzer_exe, libharfbuzz, libharfbuzz_subset],
workdir: meson.current_build_dir() / '..' / '..',
env: env,
suite: ['fuzzing'],
suite: ['fuzzing', 'slow'],
)
test('subset_fuzzer', find_program('run-subset-fuzzer-tests.py'),
@ -40,7 +40,7 @@ test('subset_fuzzer', find_program('run-subset-fuzzer-tests.py'),
timeout: 300,
workdir: meson.current_build_dir() / '..' / '..',
env: env,
suite: ['fuzzing'],
suite: ['fuzzing', 'slow'],
)
test('draw_fuzzer', find_program('run-draw-fuzzer-tests.py'),

View File

@ -38,6 +38,6 @@ foreach t : tests
# ideally better to break and let meson handles them in parallel
timeout: 500,
workdir: meson.current_build_dir() / '..' / '..',
suite: ['subset'],
suite: ['subset', 'slow'],
)
endforeach