Set-up timeouts on thread-related unittests

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 21 15:49:04 PDT 2014


On 6/20/14, 12:13 AM, Iain Buclaw wrote:
> Hi,
>
> I've been seeing a problem on the Debian X32 build system where unittest
> process just hangs, and require manual intervention by the poor
> maintainer to kill the process manually before the build fails due to
> inactivity.
>
> Haven't yet managed to reduce the problem (it only happens on a native
> X32 system, but not when running X32 under native x86_64), but thought
> it would be a good idea to suggest that any thread related tests should
> be safely handled by self terminating after a period of waiting.
>
> Thoughts from the phobos maintainers?
>
> Regards
> Iain

I'd be okay with timeboxing unittests assuming of course such 
termination counts as a fail. -- Andrei


More information about the Digitalmars-d mailing list