version(all) block in src/phobos/unittest.d unnecessary?

Dmitry Olshansky dmitry.olsh at gmail.com
Sat May 28 08:20:59 PDT 2011


On 28.05.2011 19:01, Andrej Mitrovic wrote:
> There's a version(all) block in src/phobos/unittest.d (not std.unittest) with this comment:
>
> // Bring in unit test for module by referencing function in it
>
> and then a bunch of random function calls from each module.
>
> I've tried commenting out the code in the version block and call make unittest, and from what I can tell the unittests will still run. Is this block unnecessary?

unittest.d seems like an artifact from older times.
I think win32 makefile needs a rewrite to behave more like posix.max 
(posix one tests both release and debug builds and all modules one by one).

-- 
Dmitry Olshansky



More information about the Digitalmars-d-learn mailing list