cant run unittests
ethgeh via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jul 13 17:33:50 PDT 2016
On Wednesday, 13 July 2016 at 19:41:53 UTC, dom wrote:
> how can i run my unittests for a dynamic library? some weird
> conflict is reported between main functions, my project doesnt
> contain any main function.
>
> [...]
try to put this before the main of your application:
"version(unittest){} else"
it looks like the default unittest config implies the switch
"-main".
More information about the Digitalmars-d-learn
mailing list