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:
Peter Hutterer 2015-06-19 14:58:16 +10:00
parent 83015f9dca
commit 9c2afae146
3 changed files with 1731 additions and 1687 deletions

View file

@ -48,6 +48,7 @@ endif
run_tests = \ run_tests = \
test-touchpad \ test-touchpad \
test-touchpad-tap \
test-device \ test-device \
test-pointer \ test-pointer \
test-touch \ test-touch \
@ -95,6 +96,10 @@ test_touchpad_SOURCES = touchpad.c
test_touchpad_LDADD = $(TEST_LIBS) test_touchpad_LDADD = $(TEST_LIBS)
test_touchpad_LDFLAGS = -no-install 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_SOURCES = trackpoint.c
test_trackpoint_LDADD = $(TEST_LIBS) test_trackpoint_LDADD = $(TEST_LIBS)
test_trackpoint_LDFLAGS = -no-install test_trackpoint_LDFLAGS = -no-install

1726
test/touchpad-tap.c Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff