diff options
author | Paul Smith <psmith@gnu.org> | 2019-10-05 15:14:32 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2019-10-05 17:48:19 -0400 |
commit | 5920d6d2b352f5f2630d1ea227b2e94517c175e7 (patch) | |
tree | ebbaeeacc47494e64f904efd8aaac9b36bf91249 /Makefile.am | |
parent | 2e6468c811ca89419f79692ef73445d6402720ac (diff) | |
download | make-git-5920d6d2b352f5f2630d1ea227b2e94517c175e7.tar.gz |
* Makefile.am (check-regression): Use PERLFLAGS when running Perl
* maintMakefile: Set PERLFLAGS to enable warnings.
* tests/run_make_tests.pl: Clean up issues pointed out by perl -w.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 30b6ee27..c51f9e23 100644 --- a/Makefile.am +++ b/Makefile.am @@ -161,8 +161,8 @@ check-regression: tests/config-flags.pm rm -f tests/$$f; ln -s ../srctests/$$f tests; \ done; fi ;; \ esac; \ - echo "cd tests && $(PERL) ./run_make_tests.pl -srcdir $(abs_top_srcdir) -make ../make$(EXEEXT) $(MAKETESTFLAGS)"; \ - cd tests && $(PERL) ./run_make_tests.pl -srcdir '$(abs_top_srcdir)' -make '../make$(EXEEXT)' $(MAKETESTFLAGS); \ + echo "cd tests && $(PERL) $(PERLFLAGS) ./run_make_tests.pl -srcdir $(abs_top_srcdir) -make ../make$(EXEEXT) $(MAKETESTFLAGS)"; \ + cd tests && $(PERL) $(PERLFLAGS) ./run_make_tests.pl -srcdir '$(abs_top_srcdir)' -make '../make$(EXEEXT)' $(MAKETESTFLAGS); \ else \ echo "Can't find a working Perl ($(PERL)); the test suite requires Perl."; \ fi; \ |