apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r574114 - /apr/apr-util/trunk/test/Makefile.in
Date Mon, 10 Sep 2007 01:18:12 GMT
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)



Mime
View raw message