From b218fc5b7f573894b65679182b8bde5b7b3174d2 Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Thu, 26 Sep 2024 01:08:59 +0200 Subject: [PATCH] tests/wayland-drm-lease: Let the test be skipped if not on a tty By passing META_TEST_RUN_FLAG_CAN_SKIP instead of META_TEST_RUN_FLAG_NONE. Part-of: --- src/tests/wayland-drm-lease-tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/wayland-drm-lease-tests.c b/src/tests/wayland-drm-lease-tests.c index e35efb483..e9e906035 100644 --- a/src/tests/wayland-drm-lease-tests.c +++ b/src/tests/wayland-drm-lease-tests.c @@ -186,5 +186,5 @@ main (int argc, G_CALLBACK (on_after_tests), NULL); return meta_context_test_run_tests (META_CONTEXT_TEST (context), - META_TEST_RUN_FLAG_NONE); + META_TEST_RUN_FLAG_CAN_SKIP); }