OLD | NEW |
1 #!/usr/bin/env python | |
2 # Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2016 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 import collections | 5 import collections |
7 import copy | 6 import copy |
8 import re | 7 import re |
9 | 8 |
10 | 9 |
11 # These labels should match the ones output by gtest's JSON. | 10 # These labels should match the ones output by gtest's JSON. |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 if results: | 464 if results: |
466 test_name = results.group(1) | 465 test_name = results.group(1) |
467 status = self._StatusOfTest(test_name) | 466 status = self._StatusOfTest(test_name) |
468 if status in ('not known', 'OK'): | 467 if status in ('not known', 'OK'): |
469 self._test_status[test_name] = ( | 468 self._test_status[test_name] = ( |
470 'failed', ['Unknown error, see stdio log.']) | 469 'failed', ['Unknown error, see stdio log.']) |
471 else: | 470 else: |
472 self._parsing_failures = False | 471 self._parsing_failures = False |
473 elif line.startswith('Failing tests:'): | 472 elif line.startswith('Failing tests:'): |
474 self._parsing_failures = True | 473 self._parsing_failures = True |
OLD | NEW |