Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: How can I write Test::Finished?

by samtregar (Abbot)
on Jun 22, 2004 at 20:57 UTC ( [id://368858]=note: print w/replies, xml ) Need Help??


in reply to Re: How can I write Test::Finished?
in thread How can I write Test::Finished?

That sounds reasonable and it's probably the easiest thing that could possibly work.

BTW, how come exit(1) gets ignored by Test::Harness? I've got this in bad.t:

use Test::More qw(no_plan); ok(1); exit(1); ok(1);

But when I run a make test:

$ make test PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/ +local/lib/perl5/5.6.1/i686-linux -I/usr/local/lib/perl5/5.6.1 -e 'use + Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t +/*.t t/bad....ok All tests successful. Files=1, Tests=1, 0 wallclock secs ( 0.02 cusr + 0.01 csys = 0.03 + CPU)

What gives? I've got Test::Harness v2.32 and Test::More v0.47.

-sam

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://368858]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found