Hi, On Tue, Jan 27, 2004 at 12:49:25PM -0500, Uri Guttman wrote: > >>>>> "LT" == Leopold Toetsch <[EMAIL PROTECTED]> writes: > > LT> The attached t/pmc/signal.t should send a SIGINT to a sleeping or > LT> looping PASM test. This basically works, but the test output looks a > LT> bit ugly: > > LT> t/pmc/signal............# No tests run! > LT> t/pmc/signal............ok 1/2# Looks like you planned 2 tests but > LT> only ran 1. > LT> t/pmc/signal............ok > > LT> It seems, that due to the fork, the test system is getting an empty > LT> test result too. > > Test::* can't handle output from forked children (it traps redirect > STDOUT in the current process so it has no access to STDOUT of a > child). this is a known problem. there are several ways around it. one,
I had similar problem before with Test::More tests. Try silencing the child with something like: { no warnings 'redefine'; *Test::Builder::_ending = sub {}; } before exit(0). This assumes that Parrot uses Test::Builder, which seems to be the case from a quick grep :) Thanks, Boris