test: split button tests into separate binary

We're again hitting the fork ulimits again (see also 9c2afae14) causing test
case failures in the valgrind run of the touchpad test.
Split out the touchpad button tests so we don't require special ulimits on
test boxes.

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-07-23 11:29:32 +10:00
parent e4a43c19b1
commit 2a11010467
3 changed files with 1455 additions and 1389 deletions

View file

@ -55,6 +55,7 @@ endif
run_tests = \
test-touchpad \
test-touchpad-tap \
test-touchpad-buttons \
test-device \
test-gestures \
test-pointer \
@ -107,6 +108,10 @@ test_touchpad_tap_SOURCES = touchpad-tap.c
test_touchpad_tap_LDADD = $(TEST_LIBS)
test_touchpad_tap_LDFLAGS = -no-install
test_touchpad_buttons_SOURCES = touchpad-buttons.c
test_touchpad_buttons_LDADD = $(TEST_LIBS)
test_touchpad_buttons_LDFLAGS = -no-install
test_trackpoint_SOURCES = trackpoint.c
test_trackpoint_LDADD = $(TEST_LIBS)
test_trackpoint_LDFLAGS = -no-install

1450
test/touchpad-buttons.c Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff