Mark Mentovai 85ecbd2a77 Fix SyntaxWarning in build/run_tests.py
Use r-strings for all regular expressions.

Fixes these warnings experienced with Python 3.12
(https://github.com/python/cpython/issues/98401,
https://github.com/python/cpython/pull/99011,
https://docs.python.org/3/whatsnew/3.12.html#other-language-changes
point 2):

run_tests.py:200: SyntaxWarning: invalid escape sequence '\d'
  FINAL_LINE_RE = re.compile('status=(\d+)$')
run_tests.py:441: SyntaxWarning: invalid escape sequence '\*'
  re.match('^\* daemon .+ \*$', line) or line == ''):

Change-Id: I71ddfb1a2ca62654378ae67a99e9aeb4ce7b7394
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/6254063
Commit-Queue: Mark Mentovai <mark@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
2025-02-11 11:22:07 -08:00
..
2024-06-06 01:46:46 +00:00