summaryrefslogtreecommitdiff
path: root/tests/factor
diff options
context:
space:
mode:
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 $@