Fixed test suite start time.
--- a/test/test-automation/runner.c Mon Jun 27 22:16:32 2011 +0300
+++ b/test/test-automation/runner.c Mon Jun 27 22:39:38 2011 +0300
@@ -685,8 +685,6 @@
testFailureCount = testPassCount = 0;
- //suiteStartTime = SDL_GetTicks();
-
suiteCounter++;
}
else if(strncmp(currentSuiteName, testItem->suiteName, NAME_BUFFER_SIZE) != 0) {
@@ -696,12 +694,10 @@
suiteRuntime);
currentSuiteName = testItem->suiteName;
- SuiteStarted(currentSuiteName, 0);
+ SuiteStarted(currentSuiteName, time(0));
testFailureCount = testPassCount = 0;
- //suiteStartTime = SDL_GetTicks();
-
suiteCounter++;
}
@@ -725,8 +721,6 @@
}
if(currentSuiteName) {
- // \todo if no test are run, this will case incorrect nesting with
- // xml output
SuiteEnded(testPassCount, testFailureCount, testSkipCount, time(0),
(SDL_GetTicks() - suiteStartTime) / 1000.0f);
}