public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/4] gas/testsuite: adjust a test for case insensitive file systems
@ 2023-02-20  8:22 Clément Chigot
  2023-02-20  8:22 ` [PATCH 2/4] ld/testsuite: don't output to /dev/null on mingw hosts Clément Chigot
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Clément Chigot @ 2023-02-20  8:22 UTC (permalink / raw)
  To: binutils; +Cc: Clément Chigot

When dealing with case insensitive file systems, ".file line.s" and
".file Line.s" are identical and thus gas won't change the current
input file.
However, in line.l test, it's expecting to trigger an input file switch.
As the second filename doesn't matter in it, change it to fit for those
file systems.

gas/ChangeLog:

	* testsuite/gas/elf/line.l: Change Line.s to new_line.s.
	* testsuite/gas/elf/line.s: Adjust output.
---
 gas/testsuite/gas/elf/line.l | 12 ++++++------
 gas/testsuite/gas/elf/line.s |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/gas/testsuite/gas/elf/line.l b/gas/testsuite/gas/elf/line.l
index 6fde80b7a85..f8511298bc1 100644
--- a/gas/testsuite/gas/elf/line.l
+++ b/gas/testsuite/gas/elf/line.l
@@ -15,17 +15,17 @@ line\.s:[0-9]*23:  Info: .*
 line\.s:4: Warning: m1/2: XYZ
 line\.s:[0-9]*23:  Info: .*
 line\.s:[0-9]*24: Warning: \.warning .*
-Line\.s:10: Warning: m2/1: 987
+new_line\.s:10: Warning: m2/1: 987
 line\.s:[0-9]*26:  Info: .*
-Line\.s:12: Warning: m2/2: 987
+new_line\.s:12: Warning: m2/2: 987
 line\.s:[0-9]*26:  Info: .*
-Line\.s:10: Warning: m2/1: zyx
+new_line\.s:10: Warning: m2/1: zyx
 line\.s:[0-9]*27:  Info: .*
-Line\.s:12: Warning: m2/2: zyx
+new_line\.s:12: Warning: m2/2: zyx
 line\.s:[0-9]*27:  Info: .*
-Line\.s:10: Warning: m2/1: CBA
+new_line\.s:10: Warning: m2/1: CBA
 line\.s:[0-9]*28:  Info: .*
-Line\.s:12: Warning: m2/2: CBA
+new_line\.s:12: Warning: m2/2: CBA
 line\.s:[0-9]*28:  Info: .*
 line\.s:[0-9]*29: Warning: \.warning .*
 line\.s:[0-9]*35: Warning: irp/1: 123
diff --git a/gas/testsuite/gas/elf/line.s b/gas/testsuite/gas/elf/line.s
index 2190cc3c225..e3a97887d96 100644
--- a/gas/testsuite/gas/elf/line.s
+++ b/gas/testsuite/gas/elf/line.s
@@ -5,7 +5,7 @@
 	.endm
 
 	.macro m2 args:vararg
-	.file "Line.s"
+	.file "new_line.s"
 	.line 9
 	.warning "m2/1: \args"
 	.nop
-- 
2.25.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-02-21  9:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-20  8:22 [PATCH 1/4] gas/testsuite: adjust a test for case insensitive file systems Clément Chigot
2023-02-20  8:22 ` [PATCH 2/4] ld/testsuite: don't output to /dev/null on mingw hosts Clément Chigot
2023-02-20 10:59   ` Alan Modra
2023-02-20  8:22 ` [PATCH 3/4] ld/testsuite: adjust to Windows path separator Clément Chigot
2023-02-20 11:00   ` Alan Modra
2023-02-20  8:22 ` [PATCH 4/4] ld/testsuite: handle Windows drive letter in a noinit test Clément Chigot
2023-02-20 11:02   ` Alan Modra
2023-02-20 10:52 ` [PATCH 1/4] gas/testsuite: adjust a test for case insensitive file systems Alan Modra
2023-02-21  8:30   ` Jan Beulich
2023-02-21  8:40 ` Jan Beulich
2023-02-21  9:02   ` Clément Chigot
2023-02-21  9:28     ` Jan Beulich

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).