apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r571755 - /apr/apr-util/branches/1.2.x/test/Makefile.in
Date Sat, 01 Sep 2007 09:45:40 GMT
Author: bojan
Date: Sat Sep  1 02:45:39 2007
New Revision: 571755

URL: http://svn.apache.org/viewvc?rev=571755&view=rev
Log:
Backport r571754 from the trunk
Pass driver parameter to dbd test program

Modified:
    apr/apr-util/branches/1.2.x/test/Makefile.in

Modified: apr/apr-util/branches/1.2.x/test/Makefile.in
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.2.x/test/Makefile.in?rev=571755&r1=571754&r2=571755&view=diff
==============================================================================
--- apr/apr-util/branches/1.2.x/test/Makefile.in (original)
+++ apr/apr-util/branches/1.2.x/test/Makefile.in Sat Sep  1 02:45:39 2007
@@ -21,10 +21,20 @@
 
 check: $(PROGRAMS)
 	for prog in $(PROGRAMS); do \
-		./$$prog ;\
-		if test $$? = 255; then \
-			echo "$$prog failed"; \
-			break; \
+	        if test "$$prog" = 'dbd'; then \
+			for driver in sqlite2 sqlite3; do \
+				./$$prog $$driver; \
+				if test $$? = 255; then \
+					echo "$$prog $$driver failed"; \
+					break; \
+				fi; \
+			done; \
+	        else \
+			./$$prog; \
+			if test $$? = 255; then \
+				echo "$$prog failed"; \
+				break; \
+			fi; \
 		fi; \
 	done
 



Mime
View raw message