Unit tests in libraries?
Mike Linford
mike.linford.reg at gmail.com
Mon Aug 16 11:05:27 PDT 2010
On Mon, 16 Aug 2010 10:26:46 -0700, Walter Bright wrote:
> Mike Linford wrote:
>> The unit test does not get run when compiled as: dmd -lib mylib.d
>> dmd main.d mylib.a
>>
>> But does get run when compiled as
>> dmd main.d mylib.d
>
>
> You need to compile with -unittest to run them.
Sorry, I forgot to include that I DID include -unittest in all compile
lines.
--
Mike Linford
More information about the Digitalmars-d
mailing list