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