On Sun, Sep 30, 2001 at 05:06:28PM -0500, Dave Rolsky wrote:
> > 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");

OH!  I thought you were literally using fork(), not running another
program.  Now that makes a little more sense.

I suppose the idea here is something like:

    system("some_test") for 1..3;

so you test that you can run the same code simultaneously and they
won't trip on each other?


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <[EMAIL PROTECTED]>       Kwalitee Is Job One
If you have to shoot, shoot!  Don't talk.
                -- Tuco, "The Good, The Bad And The Ugly"

Reply via email to