You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/10/19 04:10:06 UTC

svn commit: r586226 - /apr/apr/trunk/test/Makefile.in

Author: wrowe
Date: Thu Oct 18 19:10:06 2007
New Revision: 586226

URL: http://svn.apache.org/viewvc?rev=586226&view=rev
Log:
./testall and ./data/, like peanut butter and jelly.  Am I right or what?

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=586226&r1=586225&r2=586226&view=diff
==============================================================================
--- apr/apr/trunk/test/Makefile.in (original)
+++ apr/apr/trunk/test/Makefile.in Thu Oct 18 19:10:06 2007
@@ -88,6 +88,9 @@
 
 testall@EXEEXT@: $(TESTS) abts.lo testutil.lo $(LOCAL_LIBS)
 	$(LINK_PROG) $? $(ALL_LIBS)
+# For VPATH builds; where we have no ./data, copy us some data
+# if we wait until 'make check', then 'make; ./testall' fails;
+	if test ! -d "./data"; then cp -r $(srcdir)/data data; fi
 
 testlockperf@EXEEXT@: testlockperf.lo $(LOCAL_LIBS)
 	$(LINK_PROG) $? $(ALL_LIBS)