apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r574113 - /apr/apr/trunk/test/Makefile.in
Date Mon, 10 Sep 2007 01:17:49 GMT
Author: bojan
Date: Sun Sep  9 18:17:48 2007
New Revision: 574113

URL: http://svn.apache.org/viewvc?rev=574113&view=rev
Log:
Any test returning non-zero should stop make

Modified:
    apr/apr/trunk/test/Makefile.in

Modified: apr/apr/trunk/test/Makefile.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/Makefile.in?rev=574113&r1=574112&r2=574113&view=diff
==============================================================================
--- apr/apr/trunk/test/Makefile.in (original)
+++ apr/apr/trunk/test/Makefile.in Sun Sep  9 18:17:48 2007
@@ -47,11 +47,13 @@
 check: $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE)
 	for prog in $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE); do \
 		./$$prog; \
-		if test $$? = 255; then \
+		status=$$?; \
+		if test $$status != 0; then \
 			echo "$$prog failed"; \
 			break; \
 		fi; \
-	done
+	done; \
+	exit $$status
 
 occhild@EXEEXT@: occhild.lo $(LOCAL_LIBS)
 	$(LINK_PROG) occhild.lo $(LOCAL_LIBS) $(ALL_LIBS)



Mime
View raw message