summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/meson.build41
1 files changed, 22 insertions, 19 deletions
diff --git a/src/tests/meson.build b/src/tests/meson.build
index fd9a34803..20d70f8b2 100644
--- a/src/tests/meson.build
+++ b/src/tests/meson.build
@@ -101,26 +101,29 @@ headless_start_test = executable('mutter-headless-start-test',
install_dir: mutter_installed_tests_libexecdir,
)
-stacking_tests = files([
- 'stacking/basic-x11.metatest',
- 'stacking/basic-wayland.metatest',
- 'stacking/client-side-decorated.metatest',
- 'stacking/closed-transient.metatest',
- 'stacking/minimized.metatest',
- 'stacking/mixed-windows.metatest',
- 'stacking/set-parent.metatest',
- 'stacking/override-redirect.metatest',
- 'stacking/set-parent-exported.metatest',
-])
+stacking_tests = [
+ 'basic-x11',
+ 'basic-wayland',
+ 'client-side-decorated',
+ 'closed-transient',
+ 'minimized',
+ 'mixed-windows',
+ 'set-parent',
+ 'override-redirect',
+ 'set-parent-exported',
+]
-test('mutter/stacking', test_runner,
- env: test_env,
- args: [
- stacking_tests,
- ],
- is_parallel: false,
- timeout: 60,
-)
+foreach stacking_test: stacking_tests
+ test(stacking_test, test_runner,
+ suite: ['core', 'mutter/stacking'],
+ env: test_env,
+ args: [
+ files(join_paths('stacking', stacking_test + '.metatest')),
+ ],
+ is_parallel: false,
+ timeout: 60,
+ )
+endforeach
test('mutter/unit', unit_tests,
env: test_env,