diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2015-09-02 21:30:53 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-09-03 07:18:13 -0400 |
commit | 9438e34a18209b9d8c49e08487ada02053c754dd (patch) | |
tree | 2099a01757b15143d6dd244a255224260d67154d /Makefile.SH | |
parent | 90b2cbd5b04c572eb083506e6f4d1284d739ba04 (diff) | |
download | perl-9438e34a18209b9d8c49e08487ada02053c754dd.tar.gz |
Add minitest-notty to run minitest as batch.
Diffstat (limited to 'Makefile.SH')
-rwxr-xr-x | Makefile.SH | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Makefile.SH b/Makefile.SH index c37250e834..4b3acfb968 100755 --- a/Makefile.SH +++ b/Makefile.SH @@ -1514,18 +1514,23 @@ esac $spitshell >>$Makefile <<'!NO!SUBS!' -# Can't depend on lib/Config.pm because that might be where miniperl +# minitest can't depend on lib/Config.pm because that might be where miniperl # is crashing. -minitest: $(MINIPERL_EXE) +minitest_prep: -@test -f lib/Config.pm || $(MAKE) lib/Config.pm $(unidatafiles) @echo " " @echo "You may see some irrelevant test failures if you have been unable" @echo "to build lib/Config.pm, or the Unicode data files." @echo " " - - cd t && (rm -f $(PERL_EXE); $(LNS) ../$(MINIPERL_EXE) $(PERL_EXE)) \ - && $(RUN_PERL) TEST base/*.t comp/*.t cmd/*.t run/*.t \ - io/*.t re/*.t opbasic/*.t op/*.t uni/*.t perf/*.t \ - </dev/tty + - cd t && (rm -f $(PERL_EXE); $(LNS) ../$(MINIPERL_EXE) $(PERL_EXE)) + +MINITEST_TESTS = base/*.t comp/*.t cmd/*.t run/*.t io/*.t re/*.t opbasic/*.t op/*.t uni/*.t perf/*.t + +minitest: $(MINIPERL_EXE) minitest_prep + - cd t && $(RUN_PERL) TEST $(MINITEST_TESTS) </dev/tty + +minitest-notty minitest_notty: $(MINIPERL_EXE) minitest_prep + - cd t && PERL_SKIP_TTY_TEST=1 $(RUN_PERL) TEST $(MINITEST_TESTS) # Test via harness |