| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import collections | 5 import collections |
| 6 import os | 6 import os |
| 7 import sys | 7 import sys |
| 8 import time | 8 import time |
| 9 | 9 |
| 10 from cStringIO import StringIO | 10 from cStringIO import StringIO |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 self.num_tests, time.time() - self.start) | 144 self.num_tests, time.time() - self.start) |
| 145 print | 145 print |
| 146 if aborted: | 146 if aborted: |
| 147 print 'ABORTED' | 147 print 'ABORTED' |
| 148 elif self.errors: | 148 elif self.errors: |
| 149 print 'FAILED (%s)' % (', '.join('%s=%d' % i | 149 print 'FAILED (%s)' % (', '.join('%s=%d' % i |
| 150 for i in self.errors.iteritems())) | 150 for i in self.errors.iteritems())) |
| 151 elif not self.opts.quiet: | 151 elif not self.opts.quiet: |
| 152 print 'OK' | 152 print 'OK' |
| 153 | 153 |
| OLD | NEW |