digitalmars.D - -unittest doesn't work when linking against shared libraries
- Timothee Cour (4/4) Dec 07 2017 I have a simple test case to reproduce in
- Neia Neutuladh (5/10) Dec 07 2017 There are a few test runners around that handle testing manually.
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?
Dec 07 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?
Dec 07 2017