From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>, qemu-devel@nongnu.org
Cc: gustavo.romero@linaro.org, alex.bennee@linaro.org
Subject: Re: [PATCH] tests/tcg/aarch64: Fix test-mte.py
Date: Thu, 18 Jul 2024 17:49:47 -0700 [thread overview]
Message-ID: <6662bae1-be55-45c4-8dcd-366e3d7aa1bc@linaro.org> (raw)
In-Reply-To: <20240719004143.1319260-1-richard.henderson@linaro.org>
On 7/18/24 17:41, Richard Henderson wrote:
> 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>
> ---
> tests/tcg/aarch64/gdbstub/test-mte.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/tcg/aarch64/gdbstub/test-mte.py b/tests/tcg/aarch64/gdbstub/test-mte.py
> index 2db0663c1a..66f9c25f8a 100644
> --- a/tests/tcg/aarch64/gdbstub/test-mte.py
> +++ b/tests/tcg/aarch64/gdbstub/test-mte.py
> @@ -18,7 +18,7 @@
> 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]+)"
>
>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
next prev parent reply other threads:[~2024-07-19 0:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-19 0:41 [PATCH] tests/tcg/aarch64: Fix test-mte.py Richard Henderson
2024-07-19 0:49 ` Pierrick Bouvier [this message]
2024-07-19 7:14 ` Philippe Mathieu-Daudé
2024-07-19 8:55 ` Alex Bennée
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6662bae1-be55-45c4-8dcd-366e3d7aa1bc@linaro.org \
--to=pierrick.bouvier@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=gustavo.romero@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).