mirror of
https://github.com/servo/servo.git
synced 2025-06-27 10:33:39 +01:00
Report add_subsuite
action in unexpected log (#37323)
This is needed for subsuites to work with update-wpt. Testing: We do not have tests for WPT scripts, but I manually tested that update-wpt does not throw anymore. Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
89977c0e63
commit
87de9fdf8c
1 changed files with 3 additions and 1 deletions
|
@ -304,5 +304,7 @@ def write_unexpected_only_raw_log(
|
|||
with open(raw_log_file) as input:
|
||||
for line in input.readlines():
|
||||
data = json.loads(line)
|
||||
if data["action"] in ["suite_start", "suite_end"] or ("test" in data and data["test"] in tests):
|
||||
if data["action"] in ["suite_start", "suite_end", "add_subsuite"] or (
|
||||
"test" in data and data["test"] in tests
|
||||
):
|
||||
output.write(line)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue