[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Trivial Makefile patch

From: Yoshiki Hayashi <yoshiki_at_xemacs.org>
Date: 2001-02-26 10:24:03 CET

Greg Stein <gstein@lyra.org> writes:

> It looks like the "./$$prog" in the "make check" portion needs to change.
> Personally, I'd suggest moving the contents of the "make check" rule into
> subversion/tests/do-check.sh and just call it from "make check" with the
> values of SVN_TESTS for its args.

I took the shortcut and didn't create new shell script. It
prints `./stringtest' instead of `stringtest' so it's a
little bit ugly.

Index: subversion/tests/libsvn_subr/Makefile.am
===================================================================
RCS file: /cvs/subversion/subversion/tests/libsvn_subr/Makefile.am,v
retrieving revision 1.17
diff -u -r1.17 Makefile.am
--- subversion/tests/libsvn_subr/Makefile.am 2001/02/12 18:00:28 1.17
+++ subversion/tests/libsvn_subr/Makefile.am 2001/02/26 08:58:33
@@ -29,7 +29,7 @@
 ## Automatic tests run by `make check` -----------------------------
 
 ## A list of test-programs to run. (Each program contains sub-tests.)
-SVN_TESTS = stringtest hashdump-test $(srcdir)/target-test.sh
+SVN_TESTS = ./stringtest ./hashdump-test $(srcdir)/target-test.sh
 
 ## Give the shell script along with the distribution
 EXTRA_DIST = target-test.sh
@@ -41,7 +41,7 @@
         @for prog in $(SVN_TESTS); do \
           echo; \
           echo -n "Running all sub-tests in $$prog..."; \
- ./$$prog >> tests.log; \
+ $$prog >> tests.log; \
           if [ $$? -eq 0 ]; \
           then \
              echo "SUCCESS"; \

-- 
Yoshiki Hayashi
Received on Sat Oct 21 14:36:23 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.