December 07, 2017 -unittest doesn't work when linking against shared libraries | ||||
---|---|---|---|---|
| ||||
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? |
December 07, 2017 Re: -unittest doesn't work when linking against shared libraries | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timothee Cour | 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?
|
Copyright © 1999-2021 by the D Language Foundation