mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-09 14:30:17 +01:00
test: abort if our device didn't initialize
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
164a6a8159
commit
8a15c404f9
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue