Fixed the calculation of total runtime for a suite.
authorMarkus Kauppila <markus.kauppila@gmail.com>
Wed, 29 Jun 2011 19:05:56 +0300
changeset 5724 efb267579adc
parent 5723 7c6e8be702c1
child 5725 077778dd80bd
Fixed the calculation of total runtime for a suite.
test/test-automation/runner.c
--- a/test/test-automation/runner.c	Wed Jun 29 17:40:32 2011 +0300
+++ b/test/test-automation/runner.c	Wed Jun 29 19:05:56 2011 +0300
@@ -693,6 +693,8 @@
 			SuiteEnded(testPassCount, testFailureCount, testSkipCount, time(0),
 						suiteRuntime);
 
+			suiteStartTime = SDL_GetTicks();
+
 			currentSuiteName = testItem->suiteName;
 			SuiteStarted(currentSuiteName, time(0));