diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-18 22:10:30 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-18 22:10:30 +0000 |
commit | 74bd860d3d65439897565e0bbbf8a8786ffaf5f3 (patch) | |
tree | 025b4aa4be218ca5c5aeb7bac3457ecd426b4f25 /Makefile.SH | |
parent | 3b51d9b3ab2f783320610174491e1bdfcd7c6821 (diff) | |
download | perl-74bd860d3d65439897565e0bbbf8a8786ffaf5f3.tar.gz |
Make targets for testing with Third Degree.
p4raw-id: //depot/perl@9215
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.SH b/Makefile.SH index 935c8f1c7d..a6ec71b939 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -871,6 +871,27 @@ minitest: miniperl lib/re.pm - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \ && $(LDLIBPTH) ./perl TEST base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t pragma/*.t </dev/tty +# Targets for Third Degree testing. + +test.third check.third: test-prep perl.third + if (true </dev/tty) >/dev/null 2>&1; then \ + cd t && $(LDLIBPTH) PERL_3LOG=1 ./perl.third TEST </dev/tty; \ + else \ + cd t && PERL_SKIP_TTY_TEST=1 PERL_3LOG=1 $(LDLIBPTH) ./perl TEST; \ + fi + @echo "Ran tests" > t/rantests + +utest.third ucheck.third: test-prep perl.third + if (true </dev/tty) >/dev/null 2>&1; then \ + cd t && $(LDLIBPTH) PERL_3LOG=1 ./perl.third TEST -utf8 </dev/tty; \ + else \ + cd t && PERL_SKIP_TTY_TEST=1 PERL_3LOG=1 $(LDLIBPTH) ./perl TEST -utf8; \ + fi + +# For testing without a tty or controling terminal. See t/op/stat.t +test-notty.third: test-prep perl.third + cd t && PERL_SKIP_TTY_TEST=1 PERL_3LOG=1 $(LDLIBPTH) ./perl.third TEST + # Handy way to run perlbug -ok without having to install and run the # installed perlbug. We don't re-run the tests here - we trust the user. # Please *don't* use this unless all tests pass. |