mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
gas/testsuite: adjust a test for case insensitive file systems
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 Line2.s. * testsuite/gas/elf/line.s: Adjust output.
This commit is contained in:
@ -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
|
||||
Line2\.s:10: Warning: m2/1: 987
|
||||
line\.s:[0-9]*26: Info: .*
|
||||
Line\.s:12: Warning: m2/2: 987
|
||||
Line2\.s:12: Warning: m2/2: 987
|
||||
line\.s:[0-9]*26: Info: .*
|
||||
Line\.s:10: Warning: m2/1: zyx
|
||||
Line2\.s:10: Warning: m2/1: zyx
|
||||
line\.s:[0-9]*27: Info: .*
|
||||
Line\.s:12: Warning: m2/2: zyx
|
||||
Line2\.s:12: Warning: m2/2: zyx
|
||||
line\.s:[0-9]*27: Info: .*
|
||||
Line\.s:10: Warning: m2/1: CBA
|
||||
Line2\.s:10: Warning: m2/1: CBA
|
||||
line\.s:[0-9]*28: Info: .*
|
||||
Line\.s:12: Warning: m2/2: CBA
|
||||
Line2\.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
|
||||
|
@ -5,7 +5,7 @@
|
||||
.endm
|
||||
|
||||
.macro m2 args:vararg
|
||||
.file "Line.s"
|
||||
.file "Line2.s"
|
||||
.line 9
|
||||
.warning "m2/1: \args"
|
||||
.nop
|
||||
|
Reference in New Issue
Block a user