You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rp...@apache.org on 2009/05/31 13:37:10 UTC
svn commit: r780410 - /apr/apr/trunk/test/Makefile.in
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 \