apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r571754 - /apr/apr-util/trunk/test/Makefile.in
Date Sat, 01 Sep 2007 09:25:02 GMT
Author: bojan
Date: Sat Sep  1 02:25:02 2007
New Revision: 571754

URL: http://svn.apache.org/viewvc?rev=571754&view=rev
Log:
Pass driver parameter to dbd test program

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=571754&r1=571753&r2=571754&view=diff
==============================================================================
--- apr/apr-util/trunk/test/Makefile.in (original)
+++ apr/apr-util/trunk/test/Makefile.in Sat Sep  1 02:25:02 2007
@@ -22,10 +22,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