summaryrefslogtreecommitdiff
path: root/tests/check.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-27 13:45:44 +0200
committerJim Meyering <meyering@redhat.com>2008-05-27 13:48:32 +0200
commit00a309823501317f9061a28e98cc13177bc4a12a (patch)
treedbfff1a02de790d3585e296a2141369adcdaa5de /tests/check.mk
parentc6c9e8730e23af5d96a3b25331b0510112422abb (diff)
downloadcoreutils-00a309823501317f9061a28e98cc13177bc4a12a.tar.xz
in 280+ tests/* files, use $srcdir, not $top_srcdir/tests
Diffstat (limited to 'tests/check.mk')
-rw-r--r--tests/check.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/check.mk b/tests/check.mk
index 5cb8b781e..0e34e98de 100644
--- a/tests/check.mk
+++ b/tests/check.mk
@@ -48,15 +48,15 @@ built_programs = \
# The rest are envvar settings that propagate build-related Makefile
# variables to test scripts.
TESTS_ENVIRONMENT = \
- . $(top_srcdir)/tests/lang-default; \
+ . $(srcdir)/lang-default; \
tmp__=$$TMPDIR; test -d $tmp__ || tmp__=.; \
- . $(top_srcdir)/tests/envvar-check; \
+ . $(srcdir)/envvar-check; \
TMPDIR=$$tmp__; export TMPDIR; \
shell_or_perl_() { \
if grep '^\#!/usr/bin/perl' "$$1" > /dev/null; then \
if $(PERL) -e 'use warnings' > /dev/null 2>&1; then \
grep '^\#!/usr/bin/perl -T' "$$1" > /dev/null && T_=T || T_=; \
- $(PERL) -w$$T_ -I$(top_srcdir)/tests -MCoreutils \
+ $(PERL) -w$$T_ -I$(srcdir) -MCoreutils \
-M"CuTmpdir qw($$tst)" -- "$$1"; \
else \
echo 1>&2 "$$tst: configure did not find a usable version of Perl," \