Skip to content

Commit c32cfd8

Browse files
committed
Add init to overall results
1 parent bddf82c commit c32cfd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SOB/TestRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ private function test(\SOB\Test $tester, \SOB\Configuration $config) : bool
8787
$this->currentResults = ['Date/Time' => \date('Y-m-d H:i:s'), 'System' => $system, 'PHP' => PHP_VERSION, 'Test' => $config->getNamespace(), 'Description' => $config->getDescription(), ];
8888

8989
echo "Running {$config->getNamespace()} -> {$config->getDescription()}\n";
90+
$runTime = new \SOB\BaseLine();
9091
$start = new \SOB\BaseLine();
9192
$tester->init($config);
9293
$this->setResult('Init', $start);
9394

9495
$iterations = $config->getIterations();
9596

96-
$runTime = new \SOB\BaseLine();
9797
$timer = new \SOB\BaseLine();
9898

9999
for ($i = 1; $i <= $iterations; ++$i)

0 commit comments

Comments
 (0)