projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8da0c2
)
tests: check kbd init in the plugin
author
Pekka Paalanen
<pekka.paalanen@collabora.co.uk>
Thu, 16 Jun 2016 09:04:53 +0000
(12:04 +0300)
committer
Pekka Paalanen
<pekka.paalanen@collabora.co.uk>
Thu, 23 Jun 2016 11:48:38 +0000
(14:48 +0300)
Check that the keyboard init in weston-test.so plugin succeeds.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
tests/weston-test.c
patch
|
blob
|
history
diff --git
a/tests/weston-test.c
b/tests/weston-test.c
index
bda0d91
..
b9242c3
100644
(file)
--- a/
tests/weston-test.c
+++ b/
tests/weston-test.c
@@
-603,7
+603,8
@@
module_init(struct weston_compositor *ec,
/* add devices */
weston_seat_init_pointer(&test->seat);
- weston_seat_init_keyboard(&test->seat, NULL);
+ if (weston_seat_init_keyboard(&test->seat, NULL) < 0)
+ return -1;
weston_seat_init_touch(&test->seat);
loop = wl_display_get_event_loop(ec->wl_display);