projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8400703
)
test: wait for events in litest_assert_button_events
author
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 3 Sep 2014 00:57:25 +0000
(10:57 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 18 Sep 2014 01:30:15 +0000
(11:30 +1000)
Takes the onus of waiting from the caller.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
test/litest.c
patch
|
blob
|
history
diff --git
a/test/litest.c
b/test/litest.c
index
8c239f1
..
cf7e692
100644
(file)
--- a/
test/litest.c
+++ b/
test/litest.c
@@
-1071,7
+1071,7
@@
litest_assert_button_event(struct libinput *li, unsigned int button,
struct libinput_event *event;
struct libinput_event_pointer *ptrev;
- li
binput_dispatch
(li);
+ li
test_wait_for_event
(li);
event = libinput_get_event(li);
ck_assert(event != NULL);