From: Jarkko Hietaniemi Date: Tue, 3 Apr 2001 00:02:31 +0000 (+0000) Subject: (Retracted by #9609) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=556ea8bea2f27dd2ca8378d1f838ca89924261dc;p=p5sagit%2Fp5-mst-13.2.git (Retracted by #9609) Make it harder for parallel makes to enter 'test' before Dynaloader and File::Glob are happy. (In principle 'make_ext' should be unhappy enough, but sometimes parallel makes seem to sneak past both in Tru64 and AIX.) p4raw-id: //depot/perl@9523 --- diff --git a/Makefile.SH b/Makefile.SH index f1b353d..3c6e8e3 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -129,6 +129,15 @@ case "$osname" in ;; esac +case "$usedl" in +define) testreqext="$testreqext \$(DYNALOADER)" ;; +esac + +case "$DPERL_EXTERNAL_GLOB" in +"") ;; +*) testreqext="$testreqext \$(EXTGLOB)" ;; +esac + echo "Extracting Makefile (with variable substitutions)" $spitshell >Makefile < t/rantests -test check: test_prep +test check: test_prep $(TESTREQEXT) PERL=./perl $(MAKE) _test -test_tty: test_prep +test_tty: test_prep $(TESTREQEXT) PERL=./perl $(MAKE) _test_tty -test_notty: test_prep +test_notty: test_prep $(TESTREQEXT) PERL=./perl $(MAKE) _test_notty -utest ucheck: test_prep +utest ucheck: test_prep $(TESTREQEXT) PERL=./perl UTF8=-utf8 $(MAKE) _test test-prep: test_prep @@ -915,13 +927,13 @@ test-notty: test_notty test_prep.third: test_prep perl.third PERL=./perl.third $(MAKE) _test_prep -test.third check.third: test_prep.third perl.third +test.third check.third: test_prep.third perl.third $(TESTREQEXT) PERL=./perl.third PERL_DEBUG=PERL_3LOG=1 $(MAKE) _test -utest.third ucheck.third: test_prep.third perl.third +utest.third ucheck.third: test_prep.third perl.third $(TESTREQEXT) PERL=./perl.third PERL_DEBUG=PERL_3LOG=1UTF=-utf8 $(MAKE) _test -test_notty.third: test_prep.third perl.third +test_notty.third: test_prep.third perl.third $(TESTREQEXT) PERL=./perl.third $(MAKE) PERL_DEBUG=PERL_3LOG=1 _test_notty # Can't depend on lib/Config.pm because that might be where miniperl