Set-up timeouts on thread-related unittests
Sean Kelly via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 20 11:30:50 PDT 2014
On Friday, 20 June 2014 at 18:24:21 UTC, Steven Schveighoffer
wrote:
>
> No, I mean that druntime would run all unit tests with an
> expectation that each unit test should time out after N seconds.
I'd be more inclined to have the test runner kill the process if
it takes more than N seconds to complete and call that a test
failure. Figuring out something reasonable to do in the unit
tester within Druntime would be difficult.
More information about the Digitalmars-d
mailing list