anchor.diff:    }
   
     void allDone() {
  -    if (_failedTests > 0) {
  +    if (!_failureSummary.isEmpty && stepName != null) {
         print('@@@STEP_FAILURE@@@');
         print('@@@BUILD_STEP $stepName failures@@@');
  +      for (String line in _failureSummary) {
  +        print(line);
  +      }
  +      print('');
       }
       super.allDone();
     }
  
positive.code: 
  class BuildbotProgressIndicator extends ProgressIndicator {
    static String stepName;
  
    BuildbotProgressIndicator(Date startTime) : super(startTime);
  
    void _printDoneProgress(TestCase test) {
      var status = 'pass';
  
negative.code: }
  
  class TestFailurePrinter extends EventListener {
    var _formatter;
  
    TestFailurePrinter([this._formatter = const Formatter()]);
  
    void done(TestCase test) {
      if (test.lastCommandOutput.unexpectedOutput) {
        for (var line in _buildFailureOutput(test, _formatter)) {
          print(line);
        }
        print('');
      }
    }
  }
  
  