aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-07-19 10:41:43 +1000
committerAlex Bennée <alex.bennee@linaro.org>2024-07-22 09:38:17 +0100
commitc135d5eaafe7aa2533da663d8e5a34a424b71eb9 (patch)
tree0e261b39f96cb586bb5ba144d3c06268fcb3b723
parentddd1731385442db6d09d37157158c52487eda1f3 (diff)
downloadqemu-c135d5eaafe7aa2533da663d8e5a34a424b71eb9.zip
qemu-c135d5eaafe7aa2533da663d8e5a34a424b71eb9.tar.gz
qemu-c135d5eaafe7aa2533da663d8e5a34a424b71eb9.tar.bz2
tests/tcg/aarch64: Fix test-mte.py
Python 3.12 warns: TEST gdbstub MTE support on aarch64 /home/rth/qemu/src/tests/tcg/aarch64/gdbstub/test-mte.py:21: SyntaxWarning: invalid escape sequence '\(' PATTERN_0 = "Memory tags for address 0x[0-9a-f]+ match \(0x[0-9a-f]+\)." Double up the \ to pass one through to the pattern. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20240719004143.1319260-1-richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
-rw-r--r--tests/tcg/aarch64/gdbstub/test-mte.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/aarch64/gdbstub/test-mte.py b/tests/tcg/aarch64/gdbstub/test-mte.py
index 2db0663..66f9c25 100644
--- a/tests/tcg/aarch64/gdbstub/test-mte.py
+++ b/tests/tcg/aarch64/gdbstub/test-mte.py
@@ -18,7 +18,7 @@ import re
from test_gdbstub import main, report
-PATTERN_0 = "Memory tags for address 0x[0-9a-f]+ match \(0x[0-9a-f]+\)."
+PATTERN_0 = "Memory tags for address 0x[0-9a-f]+ match \\(0x[0-9a-f]+\\)."
PATTERN_1 = ".*(0x[0-9a-f]+)"