aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorsagudev <16504129+sagudev@users.noreply.github.com>2025-06-07 14:09:27 +0200
committerGitHub <noreply@github.com>2025-06-07 12:09:27 +0000
commit87de9fdf8c601773c368cbd2c02799e8000bfcaf (patch)
treeb94e38d41e8eb434f01d231076acbf62c7f6271a /python
parent89977c0e63d4d3091712383adf6cd06752dd40f7 (diff)
downloadservo-87de9fdf8c601773c368cbd2c02799e8000bfcaf.tar.gz
servo-87de9fdf8c601773c368cbd2c02799e8000bfcaf.zip
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>
Diffstat (limited to 'python')
-rw-r--r--python/wpt/run.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/wpt/run.py b/python/wpt/run.py
index 0901fb546b4..4d221f816e3 100644
--- a/python/wpt/run.py
+++ b/python/wpt/run.py
@@ -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)