View mode: basic / threaded / horizontal-split · Log in · Help
June 16, 2011
unitest problem
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?
June 16, 2011
Re: unitest problem
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/
Top | Discussion index | About this forum | D home