public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Richard Sandiford <rsandifo@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5395] testsuite: Fix hwasan/arguments-3.c failures Date: Thu, 26 Jan 2023 16:01:19 +0000 (GMT) [thread overview] Message-ID: <20230126160119.585093858D28@sourceware.org> (raw) https://gcc.gnu.org/g:a2dddefeed258119fc24d288b697d58da9e8b7e3 commit r13-5395-ga2dddefeed258119fc24d288b697d58da9e8b7e3 Author: Richard Sandiford <richard.sandiford@arm.com> Date: Thu Jan 26 16:01:09 2023 +0000 testsuite: Fix hwasan/arguments-3.c failures This testcase had three dg-error tests for ".*<message>.*". But since . matches \n in Tcl regexps, the first dg-error ate all the output, leaving the other two to fail. The regexp is eventually embedded in a larger one, so we can't prefix it with (?n). But the .*s aren't necessary, since dg-error tests for a partial rather than a full match. gcc/testsuite/ * c-c++-common/hwasan/arguments-3.c: Remove extraneous .*s. Diff: --- gcc/testsuite/c-c++-common/hwasan/arguments-3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/c-c++-common/hwasan/arguments-3.c b/gcc/testsuite/c-c++-common/hwasan/arguments-3.c index 2bf8917355b..6dbec924e2b 100644 --- a/gcc/testsuite/c-c++-common/hwasan/arguments-3.c +++ b/gcc/testsuite/c-c++-common/hwasan/arguments-3.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ /* { dg-additional-options "-fsanitize=thread,address" } */ -/* { dg-error ".*'-fsanitize=thread' is incompatible with '-fsanitize=address'.*" "" { target *-*-* } 0 } */ -/* { dg-error ".*'-fsanitize=thread' is incompatible with '-fsanitize=hwaddress'.*" "" { target *-*-* } 0 } */ -/* { dg-error ".*'-fsanitize=hwaddress' is incompatible with '-fsanitize=address'.*" "" { target *-*-* } 0 } */ +/* { dg-error "'-fsanitize=thread' is incompatible with '-fsanitize=address'" "" { target *-*-* } 0 } */ +/* { dg-error "'-fsanitize=thread' is incompatible with '-fsanitize=hwaddress'" "" { target *-*-* } 0 } */ +/* { dg-error "'-fsanitize=hwaddress' is incompatible with '-fsanitize=address'" "" { target *-*-* } 0 } */
reply other threads:[~2023-01-26 16:01 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20230126160119.585093858D28@sourceware.org \ --to=rsandifo@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.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: linkBe 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 read-only IMAP folder(s) and NNTP newsgroup(s).