+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.
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`; \\