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 ed97387a4e)
This commit is contained in:
committed by
Marius Vlad
parent
d141f1aeb7
commit
d8a7099931
@@ -36,6 +36,8 @@ fixture_setup(struct weston_test_harness *harness)
|
|||||||
|
|
||||||
compositor_setup_defaults(&setup);
|
compositor_setup_defaults(&setup);
|
||||||
|
|
||||||
|
setup.shell = SHELL_TEST_DESKTOP;
|
||||||
|
|
||||||
return weston_test_harness_execute_as_client(harness, &setup);
|
return weston_test_harness_execute_as_client(harness, &setup);
|
||||||
}
|
}
|
||||||
DECLARE_FIXTURE_SETUP(fixture_setup);
|
DECLARE_FIXTURE_SETUP(fixture_setup);
|
||||||
|
|||||||
Reference in New Issue
Block a user