Added option (#define CAPTURE_STDERR)
if set then the DebugTrace calls only for failing tests are shown
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user