[Issue 13454] Unit tests should be compiled in a module, where they are declared
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Apr 27 04:25:33 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=13454
--- Comment #6 from Dicebot <public at dicebot.lv> ---
> Otherwise, you'll end up getting stuff like Phobos' unit test code in your application when you compile it with -unittest
And this is _exactly_ what I want by default.
> Phobos is compiled without unittests, that will prohibit user code from being compiled with unittests
It never uses version(unittest) in a way mentioned in the first post.
Actually I do remember major removals of version(unittest) from Phobos
completely because it caused too many issues with random imports. Looking at
current master there are still many though :(
--
More information about the Digitalmars-d-bugs
mailing list