[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apr-cvs
Subject:    svn commit: r780410 - /apr/apr/trunk/test/Makefile.in
From:       rpluem () apache ! org
Date:       2009-05-31 11:37:10
Message-ID: 20090531113710.79F182388873 () eris ! apache ! org
[Download RAW message or body]

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 \



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic