summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-03 00:02:31 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-03 00:02:31 +0000
commit556ea8bea2f27dd2ca8378d1f838ca89924261dc (patch)
treec5e54a7cf3268179d24e25bb73265546ebe00a7f /Makefile.SH
parent0b40bd6de87cfda9faaca1d3ce7584b852e28687 (diff)
downloadperl-556ea8bea2f27dd2ca8378d1f838ca89924261dc.tar.gz
(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
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH26
1 files changed, 19 insertions, 7 deletions
diff --git a/Makefile.SH b/Makefile.SH
index f1b353deff..3c6e8e3436 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 <<!GROK!THIS!
# Makefile.SH
@@ -186,6 +195,9 @@ static_ext = $static_list
nonxs_ext = $nonxs_list
ext = \$(dynamic_ext) \$(static_ext) \$(nonxs_ext)
DYNALOADER = lib/auto/DynaLoader/DynaLoader\$(LIB_EXT)
+EXTGLOB = lib/auto/File/Glob/Glob\$(DLSUFFIX)
+
+TESTREQEXT = $testreqext
libs = $perllibs $cryptlib
@@ -892,16 +904,16 @@ _test:
fi
@echo "Ran tests" > 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