[PATCH libevdev 1/2] test: split tests into run-time and build-time tests

Peter Hutterer peter.hutterer at who-t.net
Wed Dec 11 19:27:49 PST 2013


The build-time tests don't do anything, we don't need to run them.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 test/Makefile.am | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/test/Makefile.am b/test/Makefile.am
index f3102ea..cc9d6bd 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,7 +1,10 @@
 if BUILD_TESTS
-noinst_PROGRAMS = test-libevdev test-compile-pedantic
+run_tests = test-libevdev
+build_tests = test-compile-pedantic
 
-TESTS = $(noinst_PROGRAMS)
+noinst_PROGRAMS = $(run_tests) $(build_tests)
+
+TESTS = $(run_tests)
 
 libevdev_sources = $(top_srcdir)/libevdev/libevdev.c \
 		   $(top_srcdir)/libevdev/libevdev.h \
-- 
1.8.3.1



More information about the Input-tools mailing list