From 4aeb051e9b0ae5468f912b0940d43ab31a0fb0fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Mon, 26 Jun 2023 22:06:22 +0200 Subject: [PATCH] tests: Mark some test cases as skippable This means the mutter/tty suite won't fail when the tests can't TakeControl, i.e. run in the already active session. Part-of: --- src/tests/native-kms-cursor-hotplug.c | 2 +- src/tests/native-kms-headless-start.c | 2 +- src/tests/native-kms-hotplug.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/native-kms-cursor-hotplug.c b/src/tests/native-kms-cursor-hotplug.c index 1a9978c19..c444efd53 100644 --- a/src/tests/native-kms-cursor-hotplug.c +++ b/src/tests/native-kms-cursor-hotplug.c @@ -161,6 +161,6 @@ main (int argc, init_tests (); return meta_context_test_run_tests (META_CONTEXT_TEST (context), - META_TEST_RUN_FLAG_NONE); + META_TEST_RUN_FLAG_CAN_SKIP); } diff --git a/src/tests/native-kms-headless-start.c b/src/tests/native-kms-headless-start.c index 6c4dd38cb..b934457b2 100644 --- a/src/tests/native-kms-headless-start.c +++ b/src/tests/native-kms-headless-start.c @@ -146,5 +146,5 @@ main (int argc, char *argv[]) disconnect_connector_filter, NULL); return meta_context_test_run_tests (META_CONTEXT_TEST (context), - META_TEST_RUN_FLAG_NONE); + META_TEST_RUN_FLAG_CAN_SKIP); } diff --git a/src/tests/native-kms-hotplug.c b/src/tests/native-kms-hotplug.c index 3c60aa10a..8fec8d48e 100644 --- a/src/tests/native-kms-hotplug.c +++ b/src/tests/native-kms-hotplug.c @@ -349,5 +349,5 @@ main (int argc, char *argv[]) test_context = context; return meta_context_test_run_tests (META_CONTEXT_TEST (context), - META_TEST_RUN_FLAG_NONE); + META_TEST_RUN_FLAG_CAN_SKIP); }