From 7d6dcc93760fd342e281e95a3c0c7fda43c5478b Mon Sep 17 00:00:00 2001 From: Markus Kauppila Date: Wed, 29 Jun 2011 19:05:56 +0300 Subject: [PATCH] Fixed the calculation of total runtime for a suite. --- test/test-automation/runner.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test-automation/runner.c b/test/test-automation/runner.c index 77f88fce6..c5bb80527 100644 --- a/test/test-automation/runner.c +++ b/test/test-automation/runner.c @@ -693,6 +693,8 @@ main(int argc, char *argv[]) SuiteEnded(testPassCount, testFailureCount, testSkipCount, time(0), suiteRuntime); + suiteStartTime = SDL_GetTicks(); + currentSuiteName = testItem->suiteName; SuiteStarted(currentSuiteName, time(0));