From d8a709993149b9bfac0a62242be4d452ad1d4ac1 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Sat, 25 Jun 2022 16:59:38 +0100 Subject: [PATCH] tests: Use test-desktop-shell for devices-test It doesn't need to be using desktop-shell; trying to use it is not sensible as it will try to bind to all the devices we're repeatedly creating and destroying, sometimes lose the race, and fail the test because desktop-shell has died too early. Signed-off-by: Daniel Stone (cherry picked from commit ed97387a4ed7de217810f7ce708df142a10fc247) --- tests/devices-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/devices-test.c b/tests/devices-test.c index 719f4595..e84273cc 100644 --- a/tests/devices-test.c +++ b/tests/devices-test.c @@ -36,6 +36,8 @@ fixture_setup(struct weston_test_harness *harness) compositor_setup_defaults(&setup); + setup.shell = SHELL_TEST_DESKTOP; + return weston_test_harness_execute_as_client(harness, &setup); } DECLARE_FIXTURE_SETUP(fixture_setup);