dmd -unittest=<pattern> (same syntax as -i)
Seb
seb at wilzba.ch
Thu Mar 15 05:22:45 UTC 2018
On Wednesday, 14 March 2018 at 21:22:01 UTC, Timothee Cour wrote:
> would a PR for `dmd -unittest=<pattern> (same syntax as -i)` be
> welcome?
> wouldn't that avoid all the complicatiosn with
> version(StdUnittest) ?
> eg use case:
>
> # compile with unittests just for package foo (excluding
> subpackage foo.bar) dmd -unittest=foo -unittest=-foo.bar -i
> main.d
Hmm how would this solve the StdUnittest use case? I.e. that
templated phobos unittests and private unittest symbols are
compiled into the users unittests?
See also:
https://github.com/dlang/phobos/pull/6202
https://github.com/dlang/phobos/pull/6159
More information about the Digitalmars-d
mailing list