OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 | 5 |
6 import logging | 6 import logging |
7 import multiprocessing | 7 import multiprocessing |
8 | 8 |
9 from test_result import * | 9 from test_result import * |
10 | 10 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 break | 98 break |
99 else: | 99 else: |
100 final_results.ok += test_results.ok | 100 final_results.ok += test_results.ok |
101 self.tests = [] | 101 self.tests = [] |
102 for t in test_results.GetAllBroken(): | 102 for t in test_results.GetAllBroken(): |
103 self.tests += [t.name] | 103 self.tests += [t.name] |
104 if not self.tests: | 104 if not self.tests: |
105 break | 105 break |
106 self.OnTestsCompleted(test_runners, final_results) | 106 self.OnTestsCompleted(test_runners, final_results) |
107 return final_results | 107 return final_results |
OLD | NEW |