Am 22.12.2013 15:33, schrieb Øivind Loe:

AFAIK, unit tests in separate libraries are not run at all, or did that
change? At least there was a DMD bug report for a long time.

I don't compile vibe as a library, but directly include the source code as a part of my project. That's why :) There has been a discussion about shared libs not working properly, but I guess I should maybe try to build vibe as a static lib? I guess the only thing that would solve is to give me the unittest symbols without actually running the unittests?

It would also reduce the time needed to recompile the project when you
only make changes to the application... and a better chance for template
related compiler errors ;)

Just try to replace version(unittest) with simply unittest.

Just changing that, I get a lot of these:

source/vibe/concurrency.d(998): Error: found 'private' instead of statement
source/vibe/concurrency.d(1045): Error: unrecognized declaration
source/vibe/concurrency.d(998): Error: found 'private' instead of statement
source/vibe/concurrency.d(1045): Error: unrecognized declaration
source/vibe/concurrency.d(998): Error: found 'private' instead of statement
source/vibe/concurrency.d(1045): Error: unrecognized declaration

I've committed a compiling version that does these changes blindly. Not
sure it that's enough, but at least it still passes the tests.