-unittest doesn't work when linking against shared libraries

Neia Neutuladh neia at ikeran.org
Thu Dec 7 23:33:16 UTC 2017


On Thursday, 7 December 2017 at 22:34:01 UTC, Timothee Cour wrote:
> I have a simple test case to reproduce in
> https://issues.dlang.org/show_bug.cgi?id=18046
> this seems like a serious bug; what would be a workaround when 
> dealing
> with shared libraries?

There are a few test runners around that handle testing manually. 
You can try one of them or roll your own.

That might fail, however. It would be worthwhile to see how it 
does -- is `foo` absent the runtime's list of all modules?


More information about the Digitalmars-d mailing list