]> granicus.if.org Git - flex/commitdiff
rename test to check-local as per Akim Demaille; test for failed tests
authorWill Estes <wlestes@users.sourceforge.net>
Fri, 11 Oct 2002 14:23:14 +0000 (14:23 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Fri, 11 Oct 2002 14:23:14 +0000 (14:23 +0000)
so that make check fails if any tests do

tests/Makefile.am

index b0fd415ac99e04471bc2db6424714d15b98966fb..2fd9449da1422eddd55f08790208a1c19157efe1 100644 (file)
@@ -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" = ""