test: split tests into run-time and build-time tests

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

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2013-12-12 12:57:21 +10:00
parent 546efc783c
commit 2487950f65

View file

@ -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 \