On 16/10/16 11:35, Sönke Ludwig wrote:

buildType "unittest" {

  buildOptions "releaseMode" "optimize" "inline" "unittest" "debugInfo"
}

Thanks Sönke,

this put me on the right path!https://code.dlang.org/package-format?lang=json#build-types I could get
it working! Its tricky to get the buildType and buildOptions right by
spelling. The buildOptions need unittests!

buildType "unittest" {
buildOptions "releaseMode" "optimize" "inline" "unittests"
}

thanks again,
christian