From 5d66edc9f413a35df089184f6a5622c553cbadd4 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 13 Jan 2017 10:25:56 +1000 Subject: [PATCH] test: prefix all test source files with "test-" They weren't originally prefixed but the various tests were, but now that we only have one test runner binary anyway, the prefix helps sorting the files easily within e.g. gcov results. Signed-off-by: Peter Hutterer --- test/Makefile.am | 32 +++++++++---------- test/{device.c => test-device.c} | 0 test/{gestures.c => test-gestures.c} | 0 test/{keyboard.c => test-keyboard.c} | 0 test/{log.c => test-log.c} | 0 test/{misc.c => test-misc.c} | 0 test/{pad.c => test-pad.c} | 0 test/{path.c => test-path.c} | 0 test/{pointer.c => test-pointer.c} | 0 test/{tablet.c => test-tablet.c} | 0 test/{touch.c => test-touch.c} | 0 ...hpad-buttons.c => test-touchpad-buttons.c} | 0 test/{touchpad-tap.c => test-touchpad-tap.c} | 0 test/{touchpad.c => test-touchpad.c} | 0 test/{trackball.c => test-trackball.c} | 0 test/{trackpoint.c => test-trackpoint.c} | 0 test/{udev.c => test-udev.c} | 0 17 files changed, 16 insertions(+), 16 deletions(-) rename test/{device.c => test-device.c} (100%) rename test/{gestures.c => test-gestures.c} (100%) rename test/{keyboard.c => test-keyboard.c} (100%) rename test/{log.c => test-log.c} (100%) rename test/{misc.c => test-misc.c} (100%) rename test/{pad.c => test-pad.c} (100%) rename test/{path.c => test-path.c} (100%) rename test/{pointer.c => test-pointer.c} (100%) rename test/{tablet.c => test-tablet.c} (100%) rename test/{touch.c => test-touch.c} (100%) rename test/{touchpad-buttons.c => test-touchpad-buttons.c} (100%) rename test/{touchpad-tap.c => test-touchpad-tap.c} (100%) rename test/{touchpad.c => test-touchpad.c} (100%) rename test/{trackball.c => test-trackball.c} (100%) rename test/{trackpoint.c => test-trackpoint.c} (100%) rename test/{udev.c => test-udev.c} (100%) diff --git a/test/Makefile.am b/test/Makefile.am index c072bdee..392d904a 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -101,22 +101,22 @@ if RUN_TESTS TESTS = $(run_tests) symbols-leak-test endif -libinput_test_suite_runner_SOURCES = udev.c \ - path.c \ - pointer.c \ - touch.c \ - log.c \ - tablet.c \ - pad.c \ - touchpad.c \ - touchpad-tap.c \ - touchpad-buttons.c \ - trackpoint.c \ - trackball.c \ - misc.c \ - keyboard.c \ - device.c \ - gestures.c +libinput_test_suite_runner_SOURCES = test-udev.c \ + test-path.c \ + test-pointer.c \ + test-touch.c \ + test-log.c \ + test-tablet.c \ + test-pad.c \ + test-touchpad.c \ + test-touchpad-tap.c \ + test-touchpad-buttons.c \ + test-trackpoint.c \ + test-trackball.c \ + test-misc.c \ + test-keyboard.c \ + test-device.c \ + test-gestures.c libinput_test_suite_runner_CFLAGS = $(AM_CFLAGS) -DLIBINPUT_LT_VERSION="\"$(LIBINPUT_LT_VERSION)\"" libinput_test_suite_runner_LDADD = $(TEST_LIBS) diff --git a/test/device.c b/test/test-device.c similarity index 100% rename from test/device.c rename to test/test-device.c diff --git a/test/gestures.c b/test/test-gestures.c similarity index 100% rename from test/gestures.c rename to test/test-gestures.c diff --git a/test/keyboard.c b/test/test-keyboard.c similarity index 100% rename from test/keyboard.c rename to test/test-keyboard.c diff --git a/test/log.c b/test/test-log.c similarity index 100% rename from test/log.c rename to test/test-log.c diff --git a/test/misc.c b/test/test-misc.c similarity index 100% rename from test/misc.c rename to test/test-misc.c diff --git a/test/pad.c b/test/test-pad.c similarity index 100% rename from test/pad.c rename to test/test-pad.c diff --git a/test/path.c b/test/test-path.c similarity index 100% rename from test/path.c rename to test/test-path.c diff --git a/test/pointer.c b/test/test-pointer.c similarity index 100% rename from test/pointer.c rename to test/test-pointer.c diff --git a/test/tablet.c b/test/test-tablet.c similarity index 100% rename from test/tablet.c rename to test/test-tablet.c diff --git a/test/touch.c b/test/test-touch.c similarity index 100% rename from test/touch.c rename to test/test-touch.c diff --git a/test/touchpad-buttons.c b/test/test-touchpad-buttons.c similarity index 100% rename from test/touchpad-buttons.c rename to test/test-touchpad-buttons.c diff --git a/test/touchpad-tap.c b/test/test-touchpad-tap.c similarity index 100% rename from test/touchpad-tap.c rename to test/test-touchpad-tap.c diff --git a/test/touchpad.c b/test/test-touchpad.c similarity index 100% rename from test/touchpad.c rename to test/test-touchpad.c diff --git a/test/trackball.c b/test/test-trackball.c similarity index 100% rename from test/trackball.c rename to test/test-trackball.c diff --git a/test/trackpoint.c b/test/test-trackpoint.c similarity index 100% rename from test/trackpoint.c rename to test/test-trackpoint.c diff --git a/test/udev.c b/test/test-udev.c similarity index 100% rename from test/udev.c rename to test/test-udev.c