On Sat, 29 Sep 2001, Michael G Schwern wrote:
Have you tried the Test::Builder thing yet? I think you should be
able to solve your forking problem like so:
Working on it
use Test::More tests = 10; # or whatever.
Except this needs to printed just once in the parent _before_ any tests
Dave Rolsky [EMAIL PROTECTED] writes:
For my Alzabo tests, I do some weird stuff involving forking off processes
during tests and running the same (basically same) set of tests multiple
times, each time with different modules loaded. The parent process
calculates how many tests will be
On 29 Sep 2001, Piers Cawley wrote:
If it's not a dumb question, why are you doing it that way? If you
were using PerlUnit, aka Test::Unit::TestCase, you could do something
like:
Why am I doing what? Forking and starting tests at weird offsets?
The forking is cause I need to load different
For my Alzabo tests, I do some weird stuff involving forking off processes
during tests and running the same (basically same) set of tests multiple
times, each time with different modules loaded. The parent process
calculates how many tests will be involved in each run and how many runs
will
On Wed, 26 Sep 2001, Michael G Schwern wrote:
Uggg. No, there's no good way to handle this now unless there's some
way $Num_Tests can make itself shared between forks.
Well, I do keep track of it in my code and pass it around between forks.
What I need is a way to set it.
In the general