unitest problem

Robert Clipsham robert at octarineparrot.com
Thu Jun 16 09:41:33 PDT 2011


On 16/06/2011 06:56, Lloyd Dupont wrote:
> I'm using VisualD with DMD 2.053 on Windows 7 x64
> I am building a static library and an exe, both in D, both with unitest
> turned on.
> the executable link with the library and use a module in the library
> which contains unitests
> yet, when Irun it, only the unit test in the exe are running, no
> unittest in the library are!
> is that a known bug? or just me? or something else?

I believe you have to reference something from each module for the 
unittests to be run. I don't know if this changed or not though, perhaps 
someone else could say.

-- 
Robert
http://octarineparrot.com/


More information about the Digitalmars-d mailing list