]> sourceware.org Git - automake.git/commitdiff
* automake.in (handle_tests): Test `dir=./' before `dir=', so that
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sat, 3 Apr 1999 13:27:20 +0000 (13:27 +0000)
committerAlexandre Oliva <oliva@dcc.unicamp.br>
Sat, 3 Apr 1999 13:27:20 +0000 (13:27 +0000)
we do not depend on PATH starting with `.'.

ChangeLog
automake.in

index 27ed4a6a6884f578322336ac00c4dc906e6c954c..13d9be6dae9d48630124d20ca5cfd4459236c30a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-04-03  Raja R Harinath  <harinath@cs.umn.edu>
+
+       * automake.in (handle_tests): Test `dir=./' before `dir=', so that 
+       we do not depend on PATH starting with `.'.
+
 1999-03-31  Tom Tromey  <tromey@cygnus.com>
 
        * automake.in (quote_cond_val): Quote \n.
index ffac781fd2990f7a4b8e0d9c05c7c1a44193a09f..d392491d9425635aee17cba1b4ae7d4726f8f782 100755 (executable)
@@ -3794,12 +3794,13 @@ sub handle_tests
        push (@phony, 'check-TESTS');
 
        # Note: Solaris 2.7 seems to expand TESTS using VPATH.  That's
-       # why we choose `dir=' and not `dir=.'
+       # why we also try `dir='
        $output_rules .= 'check-TESTS: $(TESTS)
        @failed=0; all=0; xfail=0; xpass=0; \\
        srcdir=$(srcdir); export srcdir; \\
        for tst in $(TESTS); do \\
-         if test -f $$tst; then dir=; \\
+         if test -f ./$$tst; then dir=./; \\
+         elif test -f $$tst; then dir=; \\
          else dir="$(srcdir)/"; fi; \\
          if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \\
            all=`expr $$all + 1`; \\
This page took 0.043919 seconds and 5 git commands to generate.