Added option (#define CAPTURE_STDERR)

if set then the DebugTrace calls only for failing tests are shown
This commit is contained in:
Dmitry Panin
2013-11-19 02:41:30 +04:00
parent 6294bb1eed
commit 6c41e5c92c
7 changed files with 63 additions and 2 deletions
+3
View File
@@ -98,5 +98,8 @@ int main(int argc, char* argv[])
result = testSuite.run();
delete wagicCore;
DebugTrace("TestSuite done: failed test: " << result);
#ifdef CAPTURE_STDERR
OutputCapturer::debugAndClear();
#endif
return result;
}