Commit 896b2591 authored by Markus Kauppila's avatar Markus Kauppila

Fixed test suite start time.

parent 31858534
......@@ -685,8 +685,6 @@ main(int argc, char *argv[])
testFailureCount = testPassCount = 0;
//suiteStartTime = SDL_GetTicks();
suiteCounter++;
}
else if(strncmp(currentSuiteName, testItem->suiteName, NAME_BUFFER_SIZE) != 0) {
......@@ -696,12 +694,10 @@ main(int argc, char *argv[])
suiteRuntime);
currentSuiteName = testItem->suiteName;
SuiteStarted(currentSuiteName, 0);
SuiteStarted(currentSuiteName, time(0));
testFailureCount = testPassCount = 0;
//suiteStartTime = SDL_GetTicks();
suiteCounter++;
}
......@@ -725,8 +721,6 @@ main(int argc, char *argv[])
}
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment