summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2022-06-25 16:59:38 +0100
committerMarius Vlad <marius.vlad@collabora.com>2022-07-04 17:27:26 +0300
commitd8a709993149b9bfac0a62242be4d452ad1d4ac1 (patch)
treeef9ad504346998b8ee317e0b4d7c3aa1104727bb
parentd141f1aeb79ec3e625c45185711e9b7e69990367 (diff)
downloadweston-d8a709993149b9bfac0a62242be4d452ad1d4ac1.tar.gz
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 <daniels@collabora.com> (cherry picked from commit ed97387a4ed7de217810f7ce708df142a10fc247)
-rw-r--r--tests/devices-test.c2
1 files changed, 2 insertions, 0 deletions
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);