[binutils-gdb] gas: testsuite: all: Avoid clashing names in err-sizeof.s
Richard Earnshaw
rearnsha@sourceware.org
Tue Sep 16 09:31:39 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8c65d27b7dfe121c39671aa3b63e6a29438edfd1
commit 8c65d27b7dfe121c39671aa3b63e6a29438edfd1
Author: Richard Earnshaw <rearnsha@arm.com>
Date: Mon Sep 15 16:25:43 2025 +0100
gas: testsuite: all: Avoid clashing names in err-sizeof.s
The first junk test in this file was missing "junk" in the test name,
which resulted in a duplicate test name when comparing with the real
test on line 3.
Diff:
---
gas/testsuite/gas/all/err-sizeof.s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/testsuite/gas/all/err-sizeof.s b/gas/testsuite/gas/all/err-sizeof.s
index a70cd191f7b..066142b0c33 100644
--- a/gas/testsuite/gas/all/err-sizeof.s
+++ b/gas/testsuite/gas/all/err-sizeof.s
@@ -10,7 +10,7 @@
.long .startof.() ;# { dg-error "Error: expected symbol name" }
;# We don't really care about these, but I didn't find a way to discard
;# them, and I also don't want to use dg-excess-errors here.
-;# { dg-error "junk at end" "" { target *-*-* } 3 }
+;# { dg-error "junk at end" "junk" { target *-*-* } 3 }
;# { dg-error "junk at end" "junk" { target *-*-* } 4 }
;# { dg-error "junk at end" "junk" { target *-*-* } 5 }
;# { dg-error "junk at end" "junk" { target *-*-* } 6 }
More information about the Binutils-cvs
mailing list