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 | 7 |
8 | 8 |
9 # Language values match constants in Sponge protocol buffer (sponge.proto). | 9 # Language values match constants in Sponge protocol buffer (sponge.proto). |
10 JAVA = 5 | 10 JAVA = 5 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 len(self.crashed) + len(self.unknown)) | 121 len(self.crashed) + len(self.unknown)) |
122 summary_string += 'PASSED=%d\n' % (len(self.ok)) | 122 summary_string += 'PASSED=%d\n' % (len(self.ok)) |
123 summary_string += 'FAILED=%d %s\n' % (len(self.failed), | 123 summary_string += 'FAILED=%d %s\n' % (len(self.failed), |
124 [t.name for t in self.failed]) | 124 [t.name for t in self.failed]) |
125 summary_string += 'CRASHED=%d %s\n' % (len(self.crashed), | 125 summary_string += 'CRASHED=%d %s\n' % (len(self.crashed), |
126 [t.name for t in self.crashed]) | 126 [t.name for t in self.crashed]) |
127 summary_string += 'UNKNOWN=%d %s\n' % (len(self.unknown), | 127 summary_string += 'UNKNOWN=%d %s\n' % (len(self.unknown), |
128 [t.name for t in self.unknown]) | 128 [t.name for t in self.unknown]) |
129 logging.critical(summary_string) | 129 logging.critical(summary_string) |
130 return summary_string | 130 return summary_string |
OLD | NEW |