Fix unit testing stuff for release configurations.

This commit is contained in:
momo5502 2016-02-04 22:13:31 +01:00
parent a34a440000
commit 6dd250259c

View File

@ -17,7 +17,10 @@ namespace Main
ExitProcess(result); ExitProcess(result);
} }
#else #else
Logger::Print("Unit tests are disabled outside the debug environment!\n"); if (Components::Flags::HasFlag("tests"))
{
Components::Logger::Print("Unit tests are disabled outside the debug environment!\n");
}
#endif #endif
} }