0

Make rebase_dump_accessibility_tree_test.py more forgiving of Android test output

Was skipping lines formatted as follows:
I 09:39:02.704  463.178s run_tests_on_device(emulator-5554)  [ RUN      ] ScreenDetailsTest.IsExtendedBasic

Bug: none
Change-Id: I2b385e7b7243d9b1eaaa469f3797027fb9d316f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4670339
Reviewed-by: Mark Schillaci <mschillaci@google.com>
Commit-Queue: Mark Schillaci <mschillaci@google.com>
Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1166816}
This commit is contained in:
Aaron Leventhal
2023-07-06 23:23:21 +00:00
committed by Chromium LUCI CQ
parent 5b4f295f46
commit fae28ee3f8

@@ -48,7 +48,7 @@ def Fix(line):
line = result.group(1)
# For Android tests:
if line[:2] == 'I ':
result = re.search('I\s+\d+\.\d+s run_tests_on_device\([0-9a-f]+\)\s+(.*)',
result = re.search('I.*run_tests_on_device\([^\)]+\)\s+(.*)',
line)
if result:
line = result.group(1)