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/01 11:45:40 UTC

svn commit: r571755 - /apr/apr-util/branches/1.2.x/test/Makefile.in

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