mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-22 19:24:27 +00:00
tests: migrate devices
The devices test was actually using the defaults instead of weston-test-desktop-shell in meson.build, so this patch keeps it that way. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
af18eb0b5c
commit
3fb67936a9
|
@ -27,6 +27,18 @@
|
|||
|
||||
#include <string.h>
|
||||
#include "weston-test-client-helper.h"
|
||||
#include "weston-test-fixture-compositor.h"
|
||||
|
||||
static enum test_result_code
|
||||
fixture_setup(struct weston_test_harness *harness)
|
||||
{
|
||||
struct compositor_setup setup;
|
||||
|
||||
compositor_setup_defaults(&setup);
|
||||
|
||||
return weston_test_harness_execute_as_client(harness, &setup);
|
||||
}
|
||||
DECLARE_FIXTURE_SETUP(fixture_setup);
|
||||
|
||||
/**
|
||||
* Test (un)plugging devices
|
||||
|
@ -40,8 +52,6 @@
|
|||
WL_SEAT_CAPABILITY_POINTER |\
|
||||
WL_SEAT_CAPABILITY_TOUCH)
|
||||
|
||||
char *server_parameters = "--shell=weston-test-desktop-shell.so";
|
||||
|
||||
/* simply test if weston sends the right capabilities when
|
||||
* some devices are removed */
|
||||
TEST(seat_capabilities_test)
|
||||
|
|
|
@ -111,6 +111,7 @@ dep_zucmain = declare_dependency(
|
|||
)
|
||||
|
||||
tests = [
|
||||
{ 'name': 'devices', },
|
||||
{ 'name': 'internal-screenshot', },
|
||||
{ 'name': 'plugin-registry', },
|
||||
{ 'name': 'roles', },
|
||||
|
@ -139,7 +140,6 @@ tests_standalone = [
|
|||
|
||||
tests_weston = [
|
||||
['bad-buffer'],
|
||||
['devices'],
|
||||
['event'],
|
||||
[
|
||||
'keyboard',
|
||||
|
|
Loading…
Reference in a new issue