mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Auto merge of #8323 - mrobinson:wpt-ui-timeout, r=jgraham
Print process output for TIMEOUT status in WPT UI Tests can time out due to script or runtime errors, which are typically reported via the Servo process output. Including process output for tests timing out makes it easier to understand these problems. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8323) <!-- Reviewable:end -->
This commit is contained in:
commit
37201e3807
1 changed files with 4 additions and 3 deletions
|
@ -167,9 +167,10 @@ class GroupingFormatter(base.BaseFormatter):
|
|||
self.expected[test_status] += 1
|
||||
return self.generate_output(text=None, new_display=new_display)
|
||||
|
||||
# If the test crashed, we also include any process output, because there is a good
|
||||
# chance that the test produced a stack trace.
|
||||
if test_status == "CRASH":
|
||||
# If the test crashed or timed out, we also include any process output,
|
||||
# because there is a good chance that the test produced a stack trace
|
||||
# or other error messages.
|
||||
if test_status in ("CRASH", "TIMEOUT"):
|
||||
stack = self.test_output[test_name] + data.get('stack', "")
|
||||
else:
|
||||
stack = data.get('stack', None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue