summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@downhill.at.eu.org>2011-12-09 16:57:16 +0100
committerStef Walter <stefw@collabora.co.uk>2011-12-09 16:57:16 +0100
commit9328bb7f0aed047dea47e8674e19865d90d423a5 (patch)
treef879f5605a7f42280f9234287862f83fe39fc250
parent336d8af58ea3d00a20a56937b11236a6bf2679dd (diff)
Run tests correctly in automake
* This allows failing tests to stop the build
-rw-r--r--tests/Makefile.am5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 243b869..6015c1e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -26,10 +26,7 @@ test_init_SOURCES = \
test-init.c \
mock-module.c mock-module.h
-CHECK_EXECUTABLES = $(CHECK_PROGS:=$(EXEEXT))
-
-check-am:
- for prog in $(CHECK_EXECUTABLES); do ./$$prog; done
+TESTS = $(CHECK_PROGS:=$(EXEEXT))
EXTRA_DIST = \
cutest \