From 7a2f6d977ecca7887d17d600ef552e565e6e2282 Mon Sep 17 00:00:00 2001 From: Will Estes Date: Fri, 11 Oct 2002 14:23:14 +0000 Subject: rename test to check-local as per Akim Demaille; test for failed tests so that make check fails if any tests do --- tests/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index b0fd415..2fd9449 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -98,7 +98,7 @@ SUBDIRS = \ # clean up before running the test suite so we dont test old builds of test code -test: clean +check-local: clean NOK=;\ NFAIL=;\ for dir in $(SUBDIRS) ; do \ @@ -115,4 +115,5 @@ test: clean done ; \ echo Results: ; \ echo Tests succeeded: `echo @ECHO_N@ "$$NOK@ECHO_C@"|wc -c`; \ - echo Tests FAILED: `echo @ECHO_N@ "$$NFAIL@ECHO_C@"|wc -c` ; + echo Tests FAILED: `echo @ECHO_N@ "$$NFAIL@ECHO_C@"|wc -c` ; \ + test "$$NFAIL" = "" -- cgit v1.2.3