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:
164a6a8
)
test: abort if our device didn't initialize
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 6 Jun 2019 04:40:11 +0000
(14:40 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 11 Jun 2019 05:49:02 +0000
(15:49 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest.c
patch
|
blob
|
history
diff --git
a/test/litest.c
b/test/litest.c
index 3befc7179636c5195c6430b32006ee954945f6b0..c29d192b7e4e43f19229f6a52be8babc6d6d669d 100644
(file)
--- a/
test/litest.c
+++ b/
test/litest.c
@@
-1546,6
+1546,7
@@
litest_add_device_with_overrides(struct libinput *libinput,
d->libinput = libinput;
d->libinput_device = libinput_path_add_device(d->libinput, path);
+ litest_assert_ptr_notnull(d->libinput_device);
ud = libinput_device_get_udev_device(d->libinput_device);
d->quirks = quirks_fetch_for_device(quirks_context, ud);
udev_device_unref(ud);