dmd -unittest=<pattern> (same syntax as -i)

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Mar 15 14:17:47 UTC 2018


On Thu, Mar 15, 2018 at 12:14:12PM +0000, Jacob Carlborg via Digitalmars-d wrote:
> On Thursday, 15 March 2018 at 05:22:45 UTC, Seb wrote:
> 
> > 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
> 
> I would hope this would be solvable without the having the user do
> something, like `-unittest=<pattern>`.
[...]

Even that would be preferable to the current situation.


T

-- 
Truth, Sir, is a cow which will give [skeptics] no more milk, and so they are gone to milk the bull. -- Sam. Johnson


More information about the Digitalmars-d mailing list