Re: [PATCH] tests/tcg/aarch64: Fix test-mte.py

2024-07-19 Thread Alex Bennée
Richard Henderson writes: > Python 3.12 warns: > > TESTgdbstub 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

Re: [PATCH] tests/tcg/aarch64: Fix test-mte.py

2024-07-19 Thread Philippe Mathieu-Daudé
On 19/7/24 02:41, Richard Henderson wrote: Python 3.12 warns: TESTgdbstub 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

Re: [PATCH] tests/tcg/aarch64: Fix test-mte.py

2024-07-18 Thread Pierrick Bouvier
On 7/18/24 17:41, Richard Henderson wrote: Python 3.12 warns: TESTgdbstub 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

[PATCH] tests/tcg/aarch64: Fix test-mte.py

2024-07-18 Thread Richard Henderson
Python 3.12 warns: TESTgdbstub 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. Sig