mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 22:50:05 +01:00
test: only expect one button event from the intuos-like test
BTN_0 is the only one guaranteed to exist (otherwise we skip the test) so let's ensure we have at least one event - all the others will fail if we don't get the right event sent. This enables the test to run against devices that only have one button. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/967>
This commit is contained in:
parent
566857bd98
commit
d487ca36a4
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ START_TEST(pad_button_intuos)
|
|||
|
||||
litest_assert_empty_queue(li);
|
||||
|
||||
ck_assert_int_gt(count, 3);
|
||||
ck_assert_int_ge(count, 1);
|
||||
#endif
|
||||
}
|
||||
END_TEST
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue