On Sun, 30 Sep 2001, Michael G Schwern wrote:

> On Sat, Sep 29, 2001 at 09:12:01PM -0500, Dave Rolsky wrote:
> > >     use Test::More tests => 10;  # or whatever.
> >
> > Except this needs to printed just once in the parent _before_ any tests
> > are run.
>
> Why not just do it before you do any forking?

I could, but then Test::Builder gets confused cause the tests run via
system don't change the internal variables Test::Builder uses.

> Could I see a copy of the idealized representation of your test
> (ie. what you'd like to write)?

in parent
------------

use Test::More qw(I know what the fuck I'm doing!);
print "1..944";

....

system ("run_some_tests");

in run_some_tests
-------------------

use Test::More qw(I know what the fuck I'm doing!);

Test::Builder->new->current_test($something_passed_from_parent);



-dave

/*==================
www.urth.org
We await the New Sun
==================*/

Reply via email to