diff options
author | Yves Orton <demerphq@gmail.com> | 2009-10-04 18:39:49 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2009-10-04 18:41:20 +0200 |
commit | ec81ed5df789e3e2888d6260f8b3139f7be436b9 (patch) | |
tree | 2961bd50e43fd3174f9c4cd3cacb1c328d507d4b /Makefile.SH | |
parent | 115454352a978d4e8b08f627af1ad772bab2816b (diff) | |
download | perl-ec81ed5df789e3e2888d6260f8b3139f7be436b9.tar.gz |
make test-reonly bypass the non-xs extensions
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.SH b/Makefile.SH index 780aab50d8..db2bfe0103 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -181,6 +181,7 @@ esac : Prepare dependency lists for Makefile. dynamic_list=' ' +dynamic_ext_re="lib/auto/re/re.$dlext" extra_dep='' for f in $dynamic_ext; do : the dependency named here will never exist @@ -313,6 +314,7 @@ MINIPERL = \$(LDLIBPTH) \$(RUN) ./miniperl\$(EXE_EXT) -Ilib # dynamic_ext = $dynamic_list +dynamic_ext_re = $dynamic_ext_re static_ext = $static_list nonxs_ext = $nonxs_list ext = \$(dynamic_ext) \$(static_ext) \$(nonxs_ext) @@ -1305,7 +1307,7 @@ makedepend: makedepend.SH config.sh sh ./makedepend.SH .PHONY: test check test_prep test_prep_nodll test_prep_pre \ - test_tty test-tty test_notty test-notty \ + test_prep_reonly test_tty test-tty test_notty test-notty \ utest ucheck test.utf8 check.utf8 test.torture torturetest \ test.utf16 check.utf16 utest.utf16 ucheck.utf16 \ test.third check.third utest.third ucheck.third test_notty.third \ @@ -1326,6 +1328,10 @@ test_prep_pre: preplibrary utilities $(nonxs_ext) test_prep: test_prep_pre $(MINIPERL_EXE) $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL) cd t && (rm -f perl$(EXE_EXT); $(LNS) ../perl$(EXE_EXT) perl$(EXE_EXT)) +test_prep_reonly: $(MINIPERL_EXE) perl$(EXE_EXT) $(dynamic_ext_re) $(TEST_PERL_DLL) + $(MINIPERL) make_ext.pl $(dynamic_ext_re) MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=dynamic + cd t && (rm -f perl$(EXE_EXT); $(LNS) ../perl$(EXE_EXT) perl$(EXE_EXT)) + test check: test_prep ./runtests choose @@ -1425,7 +1431,7 @@ test_harness: test_prep test_harness_notty: test_prep HARNESS_NOTTY=1 TESTFILE=harness ./runtests choose -test-reonly: test_prep +test-reonly: test_prep_reonly TEST_ARGS='-re \bre\/' TESTFILE=harness ./runtests choose # Handy way to run perlbug -ok without having to install and run the |