apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r780410 - /apr/apr/trunk/test/Makefile.in
Date Sun, 31 May 2009 11:37:10 GMT
Author: rpluem
Date: Sun May 31 11:37:10 2009
New Revision: 780410

URL: http://svn.apache.org/viewvc?rev=780410&view=rev
Log:
* Ensure that the in list in the for loop contains at least one argument as
  some shell puke if this is empty.

Modified:
    apr/apr/trunk/test/Makefile.in

Modified: apr/apr/trunk/test/Makefile.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/Makefile.in?rev=780410&r1=780409&r2=780410&view=diff
==============================================================================
--- apr/apr/trunk/test/Makefile.in (original)
+++ apr/apr/trunk/test/Makefile.in Sun May 31 11:37:10 2009
@@ -173,13 +173,15 @@
 	progfailed=""; \
 	for prog in $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE); do \
 	        if test "$$prog" = 'dbd'; then \
-			for driver in @apu_dbd_tests@; do \
-				@shlibpath_var@="`echo "../dbd/.libs:../ldap/.libs:$$@shlibpath_var@" | sed -e 's/::*$$//'`"
\
-				./$$prog $$driver; \
-				status=$$?; \
-				if test $$status != 0; then \
-					teststatus=$$status; \
-					progfailed="$$progfailed '$$prog $$driver'"; \
+			for driver in none @apu_dbd_tests@; do \
+				if test "$$driver" != 'none'; then \
+					@shlibpath_var@="`echo "../dbd/.libs:../ldap/.libs:$$@shlibpath_var@" | sed -e 's/::*$$//'`"
\
+					./$$prog $$driver; \
+					status=$$?; \
+					if test $$status != 0; then \
+						teststatus=$$status; \
+						progfailed="$$progfailed '$$prog $$driver'"; \
+					fi; \
 				fi; \
 			done; \
 	        else \



Mime
View raw message