commit 1a005d64bd5394d1d7d4aa604ccccd8199789d3b
parent 11e54cd1b3d1c57c20767e5032ece38c6b4804ea
Author: Sam Sneddon <gsnedders@apple.com>
Date: Fri, 10 Oct 2025 07:49:57 +0000
Bug 1992899 [wpt PR 55272] - Avoid TypeError from successful stability checker, a=testonly
Automatic update from web-platform-tests
Avoid TypeError from successful stability checker
7902cfcbc7 removed the `or logged_critical.has_log` from the stability
checker run, and now when it returns `None` this causes a TypeError
when we compare `rv`, because we're no longer guaranteed to have
`Union[int, bool]`.
--
wpt-commits: 54070c7fb6661dc7f5d52b95c72f446050ec13c1
wpt-pr: 55272
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py b/testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py
@@ -586,7 +586,7 @@ def start(**kwargs: Any) -> int:
elif kwargs["list_tests_json"]:
list_tests_json(**kwargs)
elif kwargs["verify"] or kwargs["stability"]:
- rv = check_stability(**kwargs)
+ rv = check_stability(**kwargs) or 0
else:
rv = not run_tests(**kwargs)[0]
finally: