[Issue 5091] main runs after unittests

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 13 20:49:47 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=5091



--- Comment #11 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-03-13 20:49:45 PDT ---
(In reply to comment #10)
> This always confused me a little because the documentation is inconsistent.
> http://dlang.org/phobos/core_runtime.html#moduleUnitTester
> http://dlang.org/phobos/core_runtime.html#runModuleUnitTests

Yes me too.

> One could also require that test failure is indicated by an exception.

Speaking of which I just noticed that `runAll` doesn't wrap
`runModuleUnitTests()` in a try/catch. That seems like a bug to me.

rt_init does however.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list