On Fri 17 May 2002 11:20, Nicholas Clark <[EMAIL PROTECTED]> wrote: > On Fri, May 17, 2002 at 11:04:12AM +0200, Rafael Garcia-Suarez wrote: > > I downloaded the latest Test-Smoke, and noticed that > > it performs a 'make _test' instead of a 'make test'. > > Is there a reason for this ? The problem being > > Yes. The smoke's just done a make, so it knows perl is built. > make test checks that all of perl is built, which takes some time > make _test skips that check, which is faster. Which means that you can > get more smoking done in given time.
All solved in 1.12 One more reason to push it. I'll try to make an early release soon. Being toooo busy with other (perl-related) things > > that a bare 'make _test' doesn't work for me : > > > > $ make _test > > if (true </dev/tty) >/dev/null 2>&1; then \ > > make TEST_ARGS= TESTFILE=TEST _test_tty ; \ > > else \ > > make TEST_ARGS= TESTFILE=TEST _test_notty ; \ > > fi > > make[1]: Entering directory `/opt/blead/perl' > > cd t && TEST </dev/tty > > /bin/sh: TEST: command not found > > make[1]: *** [_test_tty] Error 127 > > make[1]: Leaving directory `/opt/blead/perl' > > make: *** [_test] Error 2 > > Same here: > > $ make _test > if (true </dev/tty) >/dev/null 2>&1; then \ > make TEST_ARGS= TESTFILE=TEST _test_tty ; \ > else \ > make TEST_ARGS= TESTFILE=TEST _test_notty ; \ > fi > make[1]: Entering directory `/home/nick/build/16589-32' > cd t && TEST </dev/tty > /bin/sh: TEST: command not found > make[1]: *** [_test_tty] Error 127 > make[1]: Leaving directory `/home/nick/build/16589-32' > make: *** [_test] Error 2 > > But if you know the secret handshake: > > $ PERL=./perl make _test > if (true </dev/tty) >/dev/null 2>&1; then \ > make TEST_ARGS= TESTFILE=TEST _test_tty ; \ > else \ > make TEST_ARGS= TESTFILE=TEST _test_notty ; \ > fi > make[1]: Entering directory `/home/nick/build/16589-32' > cd t && ./perl TEST </dev/tty > t/base/cond.........................ok > t/base/if...........................ok > > etc. except for the tests not yet written. Schwern is still not poor. > > Nicholas Clark -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using perl-5.6.1, 5.7.3 & 631 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3, WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: [EMAIL PROTECTED] http:[EMAIL PROTECTED]/ [EMAIL PROTECTED] send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org
