summaryrefslogtreecommitdiff
path: root/tests/test
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-03 08:00:40 +0000
committerJim Meyering <jim@meyering.net>2000-08-03 08:00:40 +0000
commit0037a01cf8be1c1bb5064d50bb65687a6bde1786 (patch)
treebab306acd1abe7c67aeea4b1df5a6966458adc68 /tests/test
parentc60c4a9fdc128e1fc0bb96a8bfbe13790567bb26 (diff)
downloadcoreutils-0037a01cf8be1c1bb5064d50bb65687a6bde1786.tar.xz
.
Diffstat (limited to 'tests/test')
-rw-r--r--tests/test/Makefile.am4
-rw-r--r--tests/test/Makefile.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/test/Makefile.am b/tests/test/Makefile.am
index bd47d0b4e..12b246300 100644
--- a/tests/test/Makefile.am
+++ b/tests/test/Makefile.am
@@ -52,7 +52,7 @@ TESTS = $x-tests
mk_script = $(srcdir)/../mk-script
$(srcdir)/$x-tests: $(mk_script) Test.pm
- $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
+ $(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -66,6 +66,6 @@ Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
sed -n '1,/^##test-files-begin/p' $< > $@t
tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
echo "x = $$tool" >> $@t
- $(PERL) -I. -w -- $(mk_script) --list >> $@t
+ $(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@
diff --git a/tests/test/Makefile.in b/tests/test/Makefile.in
index f39a97c5c..ca9427ba7 100644
--- a/tests/test/Makefile.in
+++ b/tests/test/Makefile.in
@@ -325,7 +325,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
$(srcdir)/$x-tests: $(mk_script) Test.pm
- $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
+ $(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -336,7 +336,7 @@ Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
sed -n '1,/^##test-files-begin/p' $< > $@t
tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
echo "x = $$tool" >> $@t
- $(PERL) -I. -w -- $(mk_script) --list >> $@t
+ $(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@