mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Simplified CliTestReporter output so that buildbot can read it
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65140 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b93a8257f4
commit
1817fc6051
@ -27,7 +27,7 @@ class CliTestReporter extends SapphireTestReporter {
|
|||||||
} else {
|
} else {
|
||||||
echo SSCli::text(" AT LEAST ONE FAILURE ", "white", "red");
|
echo SSCli::text(" AT LEAST ONE FAILURE ", "white", "red");
|
||||||
}
|
}
|
||||||
echo "\n\n$testCount tests run: " . SSCli::text("$passCount passes", $passCount > 0 ? "green" : null) . ", ". SSCli::text("$failCount fails", $failCount > 0 ? "red" : null) . ", and 0 exceptions\n";
|
echo "\n\n$testCount tests run: " . SSCli::text("$passCount passes", null) . ", ". SSCli::text("$failCount fails", null) . ", and 0 exceptions\n";
|
||||||
echo "Maximum memory usage: " . number_format(memory_get_peak_usage(), 0) . "\n\n";
|
echo "Maximum memory usage: " . number_format(memory_get_peak_usage(), 0) . "\n\n";
|
||||||
|
|
||||||
$totalTime = array_sum($this->testSpeeds);
|
$totalTime = array_sum($this->testSpeeds);
|
||||||
|
Loading…
Reference in New Issue
Block a user