From 26470af4d23933219cc89036d85c8b6e3e42ebef Mon Sep 17 00:00:00 2001 From: Kyle Hickinson Date: Tue, 26 May 2026 14:04:09 -0400 Subject: [PATCH] [iOS] Handle all executions errors from simulator test runner summary (#36727) The `step_text` key is only ever set if an exception was raised while executing the iOS simulator test runners, we should ensure that all exceptions result in a failure to catch issues such as `AppLaunchError` which occurs when the test suite crashes and fails to run any tests --- tools/test/chromium_to_junit_converter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/test/chromium_to_junit_converter.py b/tools/test/chromium_to_junit_converter.py index abf94d1f540..f24c11d3ccc 100755 --- a/tools/test/chromium_to_junit_converter.py +++ b/tools/test/chromium_to_junit_converter.py @@ -52,8 +52,7 @@ class ChromiumToJUnitConverter: # Calculate totals total_passed = len(passed_tests) total_failed = len(failed_tests) - has_execution_error = bool(step_text - and 'TEST EXECUTE FAILED' in step_text) + has_execution_error = bool(step_text) total_tests = total_passed + total_failed + (1 if has_execution_error else 0)