develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [PATCH pod/perlhack.pod t/op/pack.t] Fixing bad testing advic e

Thread Previous
From:
Robin Houston
Date:
August 28, 2001 06:39
Subject:
Re: [PATCH pod/perlhack.pod t/op/pack.t] Fixing bad testing advic e
Message ID:
20010828143957.A24542@puffinry.freeserve.co.uk
On Tue, Aug 28, 2001 at 02:18:55PM +0100, Matt Sergeant wrote:
> make test TEST_VERBOSE=1
> 
> Shows you the line number where the test failed.
> At least it does for me.

It doesn't do anything for me. I deliberately broke one of the tests
in perl@10996/t/op/flip.t to test this, and:

bash$ make test TEST_VERBOSE=1
...
op/flip............................FAILED at test 7
...
Failed 1 test script out of 409, 99.76% okay.
   ### Since not all tests were successful, you may want to run some
   ### of them individually and examine any diagnostic messages they
...


The caller() idea suggested by MJD and Nicholas Clark is good.

 .robin.

-- 
"Images have limits.  i am grateful for that." --Catherine Milne

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About