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