mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 15:00:05 +01:00
test: move tapping tests into a separate binary
The previous set hit _some_ sort of limit, but no idea what or why. When adding one more test, the touchpad test case would reliably fail with a udev timeout in litest_wait_for_udev(). This only happened in the valgrind case, the normal run succeeded. Reproduced on three different installations (2 vms on two different hosts). Move the tapping tests into a separate binary, this unwedges whatever was unhappy and sunshine, lollipops and rainbows are distributed generously. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
83015f9dca
commit
9c2afae146
3 changed files with 1731 additions and 1687 deletions
|
|
@ -48,6 +48,7 @@ endif
|
|||
|
||||
run_tests = \
|
||||
test-touchpad \
|
||||
test-touchpad-tap \
|
||||
test-device \
|
||||
test-pointer \
|
||||
test-touch \
|
||||
|
|
@ -95,6 +96,10 @@ test_touchpad_SOURCES = touchpad.c
|
|||
test_touchpad_LDADD = $(TEST_LIBS)
|
||||
test_touchpad_LDFLAGS = -no-install
|
||||
|
||||
test_touchpad_tap_SOURCES = touchpad-tap.c
|
||||
test_touchpad_tap_LDADD = $(TEST_LIBS)
|
||||
test_touchpad_tap_LDFLAGS = -no-install
|
||||
|
||||
test_trackpoint_SOURCES = trackpoint.c
|
||||
test_trackpoint_LDADD = $(TEST_LIBS)
|
||||
test_trackpoint_LDFLAGS = -no-install
|
||||
|
|
|
|||
1726
test/touchpad-tap.c
Normal file
1726
test/touchpad-tap.c
Normal file
File diff suppressed because it is too large
Load diff
1687
test/touchpad.c
1687
test/touchpad.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue