Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/ArcanistConfigurationDrivenUnitTestEngine.php
Show First 20 Lines • Show All 142 Lines • ▼ Show 20 Lines | foreach ($engines as $engine) { | ||||
} | } | ||||
try { | try { | ||||
// TODO: Type check the results. | // TODO: Type check the results. | ||||
$results = $engine->run(); | $results = $engine->run(); | ||||
$all_results[] = $results; | $all_results[] = $results; | ||||
foreach ($results as $result) { | foreach ($results as $result) { | ||||
if ($engine->shouldEchoTestResults()) { | // If the proxied engine renders its own test results then there | ||||
// is no need to render them again here. | |||||
if (!$engine->shouldEchoTestResults()) { | |||||
echo $renderer->renderUnitResult($result); | echo $renderer->renderUnitResult($result); | ||||
} | } | ||||
} | } | ||||
} catch (ArcanistNoEffectException $ex) { | } catch (ArcanistNoEffectException $ex) { | ||||
$exceptions[] = $ex; | $exceptions[] = $ex; | ||||
} | } | ||||
} | } | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |