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 13:49:27 UTC

svn commit: r571767 - /apr/apr-util/branches/0.9.x/test/Makefile.in

Author: bojan
Date: Sat Sep  1 04:49:26 2007
New Revision: 571767

URL: http://svn.apache.org/viewvc?rev=571767&view=rev
Log:
Pass a string to testmd4, so we're unattended
Pass some paramters to testdbm, so it actually runs the test

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

Modified: apr/apr-util/branches/0.9.x/test/Makefile.in
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/0.9.x/test/Makefile.in?rev=571767&r1=571766&r2=571767&view=diff
==============================================================================
--- apr/apr-util/branches/0.9.x/test/Makefile.in (original)
+++ apr/apr-util/branches/0.9.x/test/Makefile.in Sat Sep  1 04:49:26 2007
@@ -19,10 +19,24 @@
 
 check: $(PROGRAMS)
 	for prog in $(PROGRAMS); do \
-		./$$prog ;\
-		if test $$? = 255; then \
-			echo "$$prog failed"; \
-			break; \
+		if test "$$prog" = 'testmd4'; then \
+			./$$prog -ssomestringtohash; \
+			if test $$? = 255; then \
+				echo "$$prog failed"; \
+				break; \
+			fi; \
+		elif test "$$prog" = 'testdbm'; then \
+			./$$prog auto SDBM; \
+			if test $$? = 255; then \
+				echo "$$prog failed"; \
+				break; \
+			fi; \
+		else \
+			./$$prog ;\
+			if test $$? = 255; then \
+				echo "$$prog failed"; \
+				break; \
+			fi; \
 		fi; \
 	done