apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1006014 - /apr/apr-util/branches/0.9.x/test/Makefile.in
Date Fri, 08 Oct 2010 21:00:17 GMT
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; \



Mime
View raw message