summaryrefslogtreecommitdiff
path: root/tests/cut
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-05-31 12:11:49 +0000
committerJim Meyering <jim@meyering.net>2004-05-31 12:11:49 +0000
commitbc8843e1ca1619778515475375944e8b92a2c989 (patch)
treed61023561619d62c07f6da3d5bdc74fd9ff23c84 /tests/cut
parent00731dd01d02b7a3e33bc89caf756532000d703a (diff)
downloadcoreutils-bc8843e1ca1619778515475375944e8b92a2c989.tar.xz
.
Diffstat (limited to 'tests/cut')
-rw-r--r--tests/cut/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/cut/Makefile.am b/tests/cut/Makefile.am
index 3c03cfbaa..06689a7f3 100644
--- a/tests/cut/Makefile.am
+++ b/tests/cut/Makefile.am
@@ -29,14 +29,16 @@ out-delim6.O out-delim6.E
EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
noinst_SCRIPTS = $x-tests
+TESTS_ENVIRONMENT = \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,$(srcdir),g'
TESTS = $x-tests
mk_script = $(srcdir)/../mk-script
-$(srcdir)/$x-tests: $(mk_script) Test.pm
- $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) ../../src/$x > $@.n
+$(srcdir)/$x-tests: $(mk_script) Test.pm Makefile.am
+ $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) $x > $@.n
mv $@.n $@
chmod 755 $@