External lib unittests: they're killin me!
Steven Schveighoffer
schveiguy at yahoo.com
Tue May 21 09:00:26 PDT 2013
On Mon, 20 May 2013 22:46:42 -0400, Timothee Cour
<thelastmammoth at gmail.com> wrote:
> On Mon, May 20, 2013 at 6:52 PM, Nick Sabalausky <
> SeeWebsiteToContactMe at semitwist.com> wrote:
>
>> Y'know what we need? This compiler flag:
>>
>> -unittest=pagkage.name.*
>>
>
> I would like that as well.
>
> Here's a workaround in the meantime:
> dmd -c -unittest a;
> dmd -c b;
> dmd -oftest -main -unittest *.o
> ./test => will only run unittest of a, not b.
This does not work if b is made of templates.
-Steve
More information about the Digitalmars-d
mailing list