| Index: dart/tools/testing/dart/test_progress.dart
|
| diff --git a/dart/tools/testing/dart/test_progress.dart b/dart/tools/testing/dart/test_progress.dart
|
| index 5818d34f0b4be0ab16bda69dec728f9fb21663e9..ce15113b86a48f560e842dbb380f9f3e45237af0 100644
|
| --- a/dart/tools/testing/dart/test_progress.dart
|
| +++ b/dart/tools/testing/dart/test_progress.dart
|
| @@ -360,8 +360,15 @@ class BuildbotProgressIndicator extends ProgressIndicator {
|
|
|
| void _printFailureSummary() {
|
| if (!_failureSummary.isEmpty()) {
|
| + // We need to create a unique name for each step, otherwise, the
|
| + // build bot will show the same failure when several steps
|
| + // fail. We don't know the name of the current step as it is
|
| + // printed by the program invoking this.
|
| + // TODO(ahe): Pass in the step name as an option, and let
|
| + // test.py take care of printing the steps.
|
| + var name = 'failures ($_startTime)';
|
| print('@@@STEP_FAILURE@@@');
|
| - print('@@@BUILD_STEP failures@@@');
|
| + print('@@@BUILD_STEP $name@@@');
|
| }
|
| super._printFailureSummary();
|
| }
|
|
|