You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2007/09/10 03:18:12 UTC

svn commit: r574114 - /apr/apr-util/trunk/test/Makefile.in

Author: bojan
Date: Sun Sep  9 18:18:11 2007
New Revision: 574114

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

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

Modified: apr/apr-util/trunk/test/Makefile.in
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/test/Makefile.in?rev=574114&r1=574113&r2=574114&view=diff
==============================================================================
--- apr/apr-util/trunk/test/Makefile.in (original)
+++ apr/apr-util/trunk/test/Makefile.in Sun Sep  9 18:18:11 2007
@@ -25,19 +25,22 @@
 	        if test "$$prog" = 'dbd'; then \
 			for driver in sqlite2 sqlite3; do \
 				./$$prog $$driver; \
-				if test $$? = 255; then \
+				status=$$?; \
+				if test $$status != 0; then \
 					echo "$$prog $$driver failed"; \
 					break; \
 				fi; \
 			done; \
 	        else \
 			./$$prog; \
-			if test $$? = 255; then \
+			status=$$?; \
+			if test $$status != 0; then \
 				echo "$$prog failed"; \
 				break; \
 			fi; \
 		fi; \
-	done
+	done; \
+	exit $$status
 
 dbd_OBJECTS = dbd.lo
 dbd_LDADD =  $(TARGET_LIB_PATH)