Quit running foreign unittests >_<
Nick Sabalausky via Digitalmars-d
digitalmars-d at puremagic.com
Tue Sep 9 19:37:23 PDT 2014
On 9/9/2014 10:21 PM, ketmar via Digitalmars-d wrote:
> On Tue, 09 Sep 2014 22:13:57 -0400
> Nick Sabalausky via Digitalmars-d <digitalmars-d at puremagic.com> wrote:
>
> write build tool that is capable of doing that...
>
???
If you think that's reasonable when it's the COMPILER that inserts all
those calls (or druntime, whatever), then go ahead with it yourself.
Seriously, DMD needs a "--omit-unittest=some.package.*". I'd try a PR
myself (I'd have *already* tried), but last time I brought it up the
whole idea was completely shot down in favor of both the
version(mylib_unittests) hack (which people don't fucking use half the
time, sometimes deliberately) and some goofy druntime trickery (ie,
writing your own test runner and getting it to druntime before druntime
gets to the "run unittests" phase. Seriously? That's *preferable* to a
"--omit-unittest=some.package.*"??).
More information about the Digitalmars-d
mailing list