From 896b25911d37986c9a0f15e389cb17292553f370 Mon Sep 17 00:00:00 2001 From: Markus Kauppila Date: Mon, 27 Jun 2011 22:39:38 +0300 Subject: [PATCH] Fixed test suite start time. --- test/test-automation/runner.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/test-automation/runner.c b/test/test-automation/runner.c index 06c25e2fb..77f88fce6 100644 --- a/test/test-automation/runner.c +++ b/test/test-automation/runner.c @@ -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); }