* [testsuite] gcc.target/arm: make message check lines unique in test summary
@ 2012-06-12 2:39 Janis Johnson
2012-06-12 17:05 ` Mike Stump
0 siblings, 1 reply; 2+ messages in thread
From: Janis Johnson @ 2012-06-12 2:39 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 261 bytes --]
This test modifies dg-message test directives by adding comments that
will be added to lines in the test summary to eliminate non-unique lines
for checks of messages for the same line of source code in a test.
Tested on arm-none-eabi. OK for mainline?
Janis
[-- Attachment #2: gcc-20120611-6 --]
[-- Type: text/plain, Size: 2138 bytes --]
2012-06-11 Janis Johnson <janisjo@codesourcery.com>
* gcc.target/arm/di-longlong64-sync-withhelpers.c: Likewise.
* gcc.target/arm/di-longlong64-sync-withldrexd.c: Likewise.
Index: gcc.target/arm/di-longlong64-sync-withhelpers.c
===================================================================
--- gcc.target/arm/di-longlong64-sync-withhelpers.c (revision 188249)
+++ gcc.target/arm/di-longlong64-sync-withhelpers.c (working copy)
@@ -2,8 +2,8 @@
/* { dg-require-effective-target arm_arch_v5_ok } */
/* { dg-options "-std=gnu99" } */
/* { dg-add-options arm_arch_v5 } */
-/* { dg-message "note: '__sync_fetch_and_nand' changed semantics in GCC 4.4" "" { target *-*-* } 0 } */
-/* { dg-message "note: '__sync_nand_and_fetch' changed semantics in GCC 4.4" "" { target *-*-* } 0 } */
+/* { dg-message "note: '__sync_fetch_and_nand' changed semantics in GCC 4.4" "fetch_and_nand" { target *-*-* } 0 } */
+/* { dg-message "note: '__sync_nand_and_fetch' changed semantics in GCC 4.4" "nand_and_fetch" { target *-*-* } 0 } */
/* { dg-message "file included" "In file included" { target *-*-* } 0 } */
#include "../../gcc.dg/di-longlong64-sync-1.c"
Index: gcc.target/arm/di-longlong64-sync-withldrexd.c
===================================================================
--- gcc.target/arm/di-longlong64-sync-withldrexd.c (revision 188249)
+++ gcc.target/arm/di-longlong64-sync-withldrexd.c (working copy)
@@ -3,8 +3,8 @@
/* { dg-options "-marm -std=gnu99" } */
/* { dg-require-effective-target arm_arch_v6k_ok } */
/* { dg-add-options arm_arch_v6k } */
-/* { dg-message "note: '__sync_fetch_and_nand' changed semantics in GCC 4.4" "" { target *-*-* } 0 } */
-/* { dg-message "note: '__sync_nand_and_fetch' changed semantics in GCC 4.4" "" { target *-*-* } 0 } */
+/* { dg-message "note: '__sync_fetch_and_nand' changed semantics in GCC 4.4" "fetch_and_nand" { target *-*-* } 0 } */
+/* { dg-message "note: '__sync_nand_and_fetch' changed semantics in GCC 4.4" "nand_and_fetch" { target *-*-* } 0 } */
/* { dg-message "file included" "In file included" { target *-*-* } 0 } */
#include "../../gcc.dg/di-longlong64-sync-1.c"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [testsuite] gcc.target/arm: make message check lines unique in test summary
2012-06-12 2:39 [testsuite] gcc.target/arm: make message check lines unique in test summary Janis Johnson
@ 2012-06-12 17:05 ` Mike Stump
0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2012-06-12 17:05 UTC (permalink / raw)
To: janisjo; +Cc: gcc-patches
On Jun 11, 2012, at 7:40 PM, Janis Johnson wrote:
> This test modifies dg-message test directives by adding comments that
> will be added to lines in the test summary to eliminate non-unique lines
> for checks of messages for the same line of source code in a test.
> OK for mainline?
Ok.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-12 17:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-12 2:39 [testsuite] gcc.target/arm: make message check lines unique in test summary Janis Johnson
2012-06-12 17:05 ` Mike Stump
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).