tests: Use suites for test cases

They allows to filter tests better and so we can just launch tests with:
  meson test --suite [core|cogl|clutter] [single-test-name]

https://gitlab.gnome.org/GNOME/mutter/merge_requests/442
This commit is contained in:
Marco Trevisan (Treviño)
2018-11-14 02:37:23 +01:00
committed by Marco Trevisan
parent c6d1cf4af4
commit a934fa07b8
4 changed files with 10 additions and 5 deletions

View File

@@ -125,13 +125,15 @@ foreach stacking_test: stacking_tests
)
endforeach
test('mutter/unit', unit_tests,
test('normal', unit_tests,
suite: ['core', 'mutter/unit'],
env: test_env,
is_parallel: false,
timeout: 60,
)
test('mutter/unit/headless-start', headless_start_test,
test('headless-start', headless_start_test,
suite: ['core', 'mutter/unit'],
env: test_env,
is_parallel: false,
timeout: 60,