summaryrefslogtreecommitdiff
path: root/tests/factor
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-05-03 22:15:39 +0000
committerJim Meyering <jim@meyering.net>1998-05-03 22:15:39 +0000
commita519a07f258a0208551c706bf017e5c1993f2b47 (patch)
treee13c1bb77f7cf84d97e54488c2aefa6b54619aed /tests/factor
parent02efcd60ed5ef081bf205fad6509861e65957734 (diff)
downloadcoreutils-a519a07f258a0208551c706bf017e5c1993f2b47.tar.xz
.
Diffstat (limited to 'tests/factor')
-rw-r--r--tests/factor/Makefile.am4
-rw-r--r--tests/factor/Makefile.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/factor/Makefile.am b/tests/factor/Makefile.am
index 2795668bb..4d6281928 100644
--- a/tests/factor/Makefile.am
+++ b/tests/factor/Makefile.am
@@ -21,7 +21,7 @@ TESTS = $x-tests
mk_script = $(srcdir)/../mk-script
$(srcdir)/$x-tests: $(mk_script) Test.pm
- $(PERL) -w -- $(mk_script) ../../src/$x > $@.n
+ $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -33,6 +33,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) -w -- $(mk_script) --list >> $@t
+ $(PERL) -I. -w -- $(mk_script) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@
diff --git a/tests/factor/Makefile.in b/tests/factor/Makefile.in
index 69a8859fa..7d15c8b05 100644
--- a/tests/factor/Makefile.in
+++ b/tests/factor/Makefile.in
@@ -239,7 +239,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
$(srcdir)/$x-tests: $(mk_script) Test.pm
- $(PERL) -w -- $(mk_script) ../../src/$x > $@.n
+ $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -248,7 +248,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) -w -- $(mk_script) --list >> $@t
+ $(PERL) -I. -w -- $(mk_script) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@