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

Andrej Mitrovic none at none.none
Sat May 28 08:01:15 PDT 2011


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?


More information about the Digitalmars-d-learn mailing list