mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-26 07:50:44 +02:00
meson: Split tests up into test suites
This allows things like `meson test --no-suite=slow` to run subsets of the complete set of tests. Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
parent
da5450e729
commit
947f40f511
2 changed files with 3 additions and 0 deletions
|
|
@ -307,6 +307,7 @@ if shell.found()
|
|||
foreach test_script: test_scripts
|
||||
test(test_script, shell,
|
||||
args: [test_script],
|
||||
suite: ['fast', 'lint'],
|
||||
workdir: meson.current_source_dir())
|
||||
endforeach
|
||||
|
||||
|
|
@ -316,6 +317,7 @@ if shell.found()
|
|||
test('check-plt.sh', shell,
|
||||
args: ['check-plt.sh', libcairo ],
|
||||
env: env,
|
||||
suite: ['fast', 'plt'],
|
||||
workdir: meson.current_source_dir())
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -648,5 +648,6 @@ env.set('srcdir', meson.current_source_dir())
|
|||
test('cairo', exe,
|
||||
timeout: 60 * 60,
|
||||
env: env,
|
||||
suite: ['cairo-test-suite', 'slow'],
|
||||
workdir: meson.current_build_dir(),
|
||||
depends: test_depends)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue