Added info about total number of tests

This commit is contained in:
Dmitry Panin
2013-11-19 02:57:42 +04:00
parent 6c41e5c92c
commit 331e126787

View File

@@ -96,8 +96,9 @@ int main(int argc, char* argv[])
options.reloadProfile();
TestSuite testSuite("test/_tests.txt");
result = testSuite.run();
int totalTests = testSuite.nbTests + testSuite.nbAITests;
delete wagicCore;
DebugTrace("TestSuite done: failed test: " << result);
DebugTrace("TestSuite done: failed test: " << result << " out of " << totalTests << " total");
#ifdef CAPTURE_STDERR
OutputCapturer::debugAndClear();
#endif