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





------- Comment #5 from s...@iname.com  2009-01-30 20:53 -------
(In reply to comment #4)
> That looks about right.  I had thought that people wouldn't want 
> unit tests run for dynamic libraries,

In which case they'll compile them without --unittest - problem solved.

> which is why that routine needs to be called manually.  If this is 
> incorrect then I can add it to Runtime.initialize() as well.  I'll 
> look into changing the docs.

You're right - Runtime.initialize() ought to call runModuleUnitTests().  People
using the currently correct WinMain will find that the unit tests run twice,
but at least they just have to remove the extra call in order to fix it.


-- 

Reply via email to