- OutputTestResult(ofs, processName, moduleName, testCase, startTime, endTime);
+ testCase.result = RunTestCaseInChildProcess(testCase, quiet);
+
+ tt = system_clock::to_time_t(system_clock::now());
+ strftime(buffer, BUFSIZE, "%c", localtime(&tt));
+ std::string endTime(buffer);
+
+ if(testCase.result == 0)
+ {
+ numPasses++;
+ }
+ else
+ {
+ numFailures++;
+ }
+ if(!quiet)
+ {
+ OutputTestResult(ofs, processName, moduleName, testCase, startTime, endTime);
+ }