Commit 3fb67936 authored by Pekka Paalanen's avatar Pekka Paalanen Committed by Daniel Stone
Browse files

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: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent af18eb0b
......@@ -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',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment