mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
retain raw test_end events for failing tests without subtests
This commit is contained in:
parent
0a5ae8e938
commit
beab561eea
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,7 @@ class ServoHandler(mozlog.reader.LogHandler):
|
|||
self.need_to_erase_last_line = False
|
||||
self.running_tests: Dict[str, str] = {}
|
||||
self.test_output = collections.defaultdict(str)
|
||||
self.test_failures = []
|
||||
self.subtest_failures = collections.defaultdict(list)
|
||||
self.tests_with_failing_subtests = []
|
||||
self.unexpected_results: List[UnexpectedResult] = []
|
||||
|
@ -162,6 +163,7 @@ class ServoHandler(mozlog.reader.LogHandler):
|
|||
|
||||
output = ""
|
||||
if had_unexpected_test_result:
|
||||
self.test_failures.append(data)
|
||||
self.unexpected_tests[test_status].append(data)
|
||||
lines = self.get_lines_for_unexpected_result(
|
||||
test_name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue