| 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 .type_definitions import DirSeen, Handler, MultiTest | 10 from .type_definitions import DirSeen, Handler, MultiTest |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 if self.normal_actions: | 139 if self.normal_actions: |
| 140 print '\n'.join(self.normal_actions) | 140 print '\n'.join(self.normal_actions) |
| 141 if self.opts.verbose: | 141 if self.opts.verbose: |
| 142 if self.verbose_actions: | 142 if self.verbose_actions: |
| 143 print '\n'.join(self.verbose_actions) | 143 print '\n'.join(self.verbose_actions) |
| 144 | 144 |
| 145 trained = sum(len(x) for x in self.files_expected.itervalues()) | 145 trained = sum(len(x) for x in self.files_expected.itervalues()) |
| 146 print '-' * 70 | 146 print '-' * 70 |
| 147 print 'Trained %d tests in %0.3fs (ran %d tests)' % ( | 147 print 'Trained %d tests in %0.3fs (ran %d tests)' % ( |
| 148 trained, time.time() - self.start, self.num_tests) | 148 trained, time.time() - self.start, self.num_tests) |
| OLD | NEW |