diff options
author | Clément Chigot <chigot@adacore.com> | 2023-01-11 15:12:47 +0100 |
---|---|---|
committer | Clément Chigot <chigot@adacore.com> | 2023-02-21 10:47:24 +0100 |
commit | 1fafeaac8503eea2f61c3a35f0eef183b7e7cc65 (patch) | |
tree | d1d3be25dfd84ec99020679b20e36dc678f57b76 /gas | |
parent | 6d0020873deb2f2c4e0965dc2ebf227bc1db3140 (diff) | |
download | gdb-1fafeaac8503eea2f61c3a35f0eef183b7e7cc65.zip gdb-1fafeaac8503eea2f61c3a35f0eef183b7e7cc65.tar.gz gdb-1fafeaac8503eea2f61c3a35f0eef183b7e7cc65.tar.bz2 |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/gas/elf/line.l | 12 | ||||
-rw-r--r-- | 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 6fde80b..37384d7 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 +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 diff --git a/gas/testsuite/gas/elf/line.s b/gas/testsuite/gas/elf/line.s index 2190cc3..2b51d50 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 "Line2.s" .line 9 .warning "m2/1: \args" .nop |