Grand adventures merging the threads branch

Michael G Schwern schwern at pobox.com
Fri Aug 17 06:14:59 UTC 2012


On 2012.8.17 12:38 AM, Jonathan "Duke" Leto wrote:
> Which platforms are needed for testing the threads branch? Is it only
> slow boxes that are failing tests now or are there still some platform
> specific issues with the new sleep opcode implementation?
> 
> If we have access to them in the GCC compile farm, I can improve our
> scripts to kill test runs after a specified timeout, but how can we
> tell Smolder that a certain file or test took longer than a specified
> timeout?
> 
> Can you even represent that in TAP?

If the test itself decides its taking too long, then its just a failing test.

    if( I'm taking too long ) {
        fail("I took too long");
        exit;
    }

If something external is killing tests which are taking too long, you'd have
to trap it in a signal handler or something.


-- 
There will be snacks.


More information about the parrot-dev mailing list