You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rj...@apache.org on 2010/10/08 23:00:17 UTC

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

Author: rjung
Date: Fri Oct  8 21:00:17 2010
New Revision: 1006014

URL: http://svn.apache.org/viewvc?rev=1006014&view=rev
Log:
Fix out of tree build
(copy in test data before running tests).

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=1006014&r1=1006013&r2=1006014&view=diff
==============================================================================
--- apr/apr-util/branches/0.9.x/test/Makefile.in (original)
+++ apr/apr-util/branches/0.9.x/test/Makefile.in Fri Oct  8 21:00:17 2010
@@ -1,3 +1,4 @@
+srcdir = @srcdir@
 VPATH = @srcdir@
 
 INCLUDES = @APRUTIL_PRIV_INCLUDES@ @APR_INCLUDES@ @APRUTIL_INCLUDES@
@@ -18,6 +19,8 @@ APRUTIL_LDFLAGS = @APRUTIL_LDFLAGS@ @LT_
 all: $(PROGRAMS)
 
 check: $(PROGRAMS)
+# For VPATH builds; where we have no ./data, copy us some data
+	if test ! -d "./data"; then cp -r $(srcdir)/data data; fi
 	for prog in $(PROGRAMS); do \
 		if test "$$prog" = 'testmd4'; then \
 			./$$prog -ssomestringtohash; \