We already have --DRT-run-unittests. It's -unittest -main. Simple!
Adam D. Ruppe
destructionator at gmail.com
Sun May 19 17:28:31 UTC 2019
On Sunday, 19 May 2019 at 13:31:12 UTC, Andrei Alexandrescu wrote:
> But it makes sense to allow (and ignore) main if -unittest is
> also provided. Essentially -unittest -main means "build for
> unittesting and a no-op main".
Not bad.
My only concern here is build time, if we are running the
compiler twice for a successful build (this is why many of us
avoided rdmd), but the background parallel idea could solve that.
I say let's try it!
More information about the Digitalmars-d
mailing list