From 9328bb7f0aed047dea47e8674e19865d90d423a5 Mon Sep 17 00:00:00 2001 From: Andreas Metzler Date: Fri, 9 Dec 2011 16:57:16 +0100 Subject: Run tests correctly in automake * This allows failing tests to stop the build --- tests/Makefile.am | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests') 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 \ -- cgit v1.1