From: Jesse Vincent Date: Fri, 30 Oct 2009 01:37:44 +0000 (-0400) Subject: Propagate LDLIBPTH into run_tests - Fixes 5.12 blocker [perl #70057] X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5fb77da43fd55ef9c3a8599c3ab23fdee9f25053;p=p5sagit%2Fp5-mst-13.2.git Propagate LDLIBPTH into run_tests - Fixes 5.12 blocker [perl #70057] I'm leaving the bug open as it sounds like there's a better fix that could go into Configure that Andy mentioned wanting to make. But I'm removing the 5.12 blocking nature of the bug; --- diff --git a/Makefile.SH b/Makefile.SH index e43eeca..fc2a02d 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -315,6 +315,8 @@ MINIPERL = \$(LDLIBPTH) \$(RUN) ./miniperl\$(EXE_EXT) -Ilib PERL_EXE = perl\$(EXE_EXT) RUN_PERL = \$(LDLIBPTH) \$(RUN) ./perl\$(EXE_EXT) +# Macros to run our tests +RUN_TESTS = \$(LDLIBPTH) ./runtests dynamic_ext = $dynamic_list dynamic_ext_re = $dynamic_ext_re @@ -1319,7 +1321,7 @@ makedepend: makedepend.SH config.sh _test: echo >&2 The _test target is deprecated. Please upgrade your smoker - PERL=./perl ./runtests choose + PERL=./perl $(RUN_TESTS) choose # Cannot delegate rebuilding of t/perl to make # to allow interlaced test and minitest @@ -1336,19 +1338,19 @@ test_prep_reonly: $(MINIPERL_EXE) $(PERL_EXE) $(dynamic_ext_re) $(TEST_PERL_DLL) cd t && (rm -f $(PERL_EXE); $(LNS) ../$(PERL_EXE) $(PERL_EXE)) test check: test_prep - ./runtests choose + $(RUN_TESTS) choose test_tty: test_prep - ./runtests tty + $(RUN_TESTS) tty test_notty: test_prep - ./runtests no-tty + $(RUN_TESTS) no-tty utest ucheck test.utf8 check.utf8: test_prep - TEST_ARGS=-utf8 ./runtests choose + TEST_ARGS=-utf8 $(RUN_TESTS) choose coretest: test_prep - TEST_ARGS=-core ./runtests choose + TEST_ARGS=-core $(RUN_TESTS) choose test-prep: test_prep @@ -1359,7 +1361,7 @@ test-notty: test_notty # Torture testing test.torture torturetest: test_prep - TEST_ARGS=-torture ./runtests choose + TEST_ARGS=-torture $(RUN_TESTS) choose # Targets for UTF16 testing: @@ -1368,23 +1370,23 @@ minitest.utf16: minitest.prep && $(RUN_PERL) TEST -minitest -utf16 base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t