dmd -unittest=<pattern> (same syntax as -i)
Jonathan Marler
johnnymarler at gmail.com
Thu Mar 15 01:08:11 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
I'm in favor. If you decide to create a PR, all the match logic
is in mars.d at the end of the file. Might want to move it to
another module.
More information about the Digitalmars-d
mailing list