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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4049>
This commit is contained in:
parent
57812546b9
commit
b218fc5b7f
@ -186,5 +186,5 @@ main (int argc,
|
|||||||
G_CALLBACK (on_after_tests), NULL);
|
G_CALLBACK (on_after_tests), NULL);
|
||||||
|
|
||||||
return meta_context_test_run_tests (META_CONTEXT_TEST (context),
|
return meta_context_test_run_tests (META_CONTEXT_TEST (context),
|
||||||
META_TEST_RUN_FLAG_NONE);
|
META_TEST_RUN_FLAG_CAN_SKIP);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user