Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed test suite start time.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkauppila committed Jun 27, 2011
1 parent 1099346 commit eb78ad5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/test-automation/runner.c
Expand Up @@ -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) {
Expand All @@ -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++;
}

Expand All @@ -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);
}
Expand Down

0 comments on commit eb78ad5

Please sign in to comment.