[phobos] Time taken for running unit tests

Andrei Alexandrescu andrei at erdani.com
Mon Sep 26 18:27:05 PDT 2011


On 9/26/11 6:05 PM, Jonathan M Davis wrote:
> This would definitely improve the Windows build, but I would suggest that both
> the Windows and Linux builds have a separate target which builds and runs all
> of the modules' unit tests at once in order to catch circular dependencies
> caused by static constructors. Obviously, both the Posix and Windows makefiles
> would need to be adjusted in order for that to work.

Wouldn't the issues manifest themselves without the unittests?

> Also, the fact that dmd is having the issues that its having compiling Phobos'
> unit tests really should be addressed unless there's something intrinsic to
> the problem which makes it essentially unsolvable. dmd needs to be able to
> build large projects, and the fact that it's having the trouble that it's
> having right now does not bode well for large projects.

Good point. Time to compiling Phobos is an excellent benchmark for dmd.


Andrei


More information about the phobos mailing list