diff options
Diffstat (limited to 'tests/check.mk')
-rw-r--r-- | tests/check.mk | 6 |
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," \ |