Index: build/android/pylib/gtest/test_runner.py |
diff --git a/build/android/pylib/gtest/test_runner.py b/build/android/pylib/gtest/test_runner.py |
index 66feea64bcea8d20f82f4fe9354e5e63cf2eee97..fa38c4f811cd458e08891a6df1434c6245611810 100644 |
--- a/build/android/pylib/gtest/test_runner.py |
+++ b/build/android/pylib/gtest/test_runner.py |
@@ -78,16 +78,16 @@ class TestRunner(base_test_runner.BaseTestRunner): |
results = base_test_result.TestRunResults() |
# Test case statuses. |
- re_run = re.compile('\[ RUN \] ?(.*)\r\n') |
- re_fail = re.compile('\[ FAILED \] ?(.*?)( \((\d+) ms\))?\r\r\n') |
- re_ok = re.compile('\[ OK \] ?(.*?)( \((\d+) ms\))?\r\r\n') |
+ re_run = re.compile('\\[ RUN \\] ?(.*)\r\n') |
+ re_fail = re.compile('\\[ FAILED \\] ?(.*?)( \\((\\d+) ms\\))?\r\r\n') |
+ re_ok = re.compile('\\[ OK \\] ?(.*?)( \\((\\d+) ms\\))?\r\r\n') |
# Test run statuses. |
- re_passed = re.compile('\[ PASSED \] ?(.*)\r\n') |
- re_runner_fail = re.compile('\[ RUNNER_FAILED \] ?(.*)\r\n') |
+ re_passed = re.compile('\\[ PASSED \\] ?(.*)\r\n') |
+ re_runner_fail = re.compile('\\[ RUNNER_FAILED \\] ?(.*)\r\n') |
# Signal handlers are installed before starting tests |
# to output the CRASHED marker when a crash happens. |
- re_crash = re.compile('\[ CRASHED \](.*)\r\n') |
+ re_crash = re.compile('\\[ CRASHED \\](.*)\r\n') |
log = '' |
try: |