mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-05 05:10:26 +01:00
test: put two warnings into the tablet tests
These tests rely on libevdev doing the right thing, which it only does when it uses the UI_GET_SYSNAME ioctl. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
a6f18c9cca
commit
cd5c9dce3b
1 changed files with 9 additions and 0 deletions
|
|
@ -696,6 +696,10 @@ START_TEST(tools_with_serials)
|
|||
NULL,
|
||||
NULL,
|
||||
NULL);
|
||||
/* WARNING: this test fails if UI_GET_SYSNAME isn't
|
||||
* available or isn't used by libevdev (1.3, commit 2ff45c73).
|
||||
* Put a sleep(1) here and that usually fixes it.
|
||||
*/
|
||||
|
||||
litest_event(dev[i], EV_KEY, BTN_TOOL_PEN, 1);
|
||||
litest_event(dev[i], EV_MSC, MSC_SERIAL, 100);
|
||||
|
|
@ -742,6 +746,11 @@ START_TEST(tools_without_serials)
|
|||
NULL,
|
||||
NULL);
|
||||
|
||||
/* WARNING: this test fails if UI_GET_SYSNAME isn't
|
||||
* available or isn't used by libevdev (1.3, commit 2ff45c73).
|
||||
* Put a sleep(1) here and that usually fixes it.
|
||||
*/
|
||||
|
||||
litest_event(dev[i], EV_KEY, BTN_TOOL_PEN, 1);
|
||||
litest_event(dev[i], EV_SYN, SYN_REPORT, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue