diff options
author | Geoffrey Keating <geoffk@geoffk.org> | 1999-10-11 03:40:17 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@geoffk.org> | 1999-10-11 03:40:17 +0000 |
commit | a6ea59ce8abde2284ec71fef37de00b0d9fd197f (patch) | |
tree | e6c703edb27be211c938bb56bc6d5d4305067507 /gas/testsuite/lib | |
parent | 1c170bd8b29efba2684d967ba6925c4d754440ed (diff) | |
download | gdb-a6ea59ce8abde2284ec71fef37de00b0d9fd197f.zip gdb-a6ea59ce8abde2284ec71fef37de00b0d9fd197f.tar.gz gdb-a6ea59ce8abde2284ec71fef37de00b0d9fd197f.tar.bz2 |
* lib/gas-defs.exp (regexp_diff): Allow '#...' to mean "some
indeterminate number of extra lines here".
* gas/elf/elf.exp: Remove XFAILs.
* gas/elf/section0.d: Make pass on MIPS (and hopefully alpha).
* gas/elf/section1.d: Likewise.
Diffstat (limited to 'gas/testsuite/lib')
-rw-r--r-- | gas/testsuite/lib/gas-defs.exp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/testsuite/lib/gas-defs.exp b/gas/testsuite/lib/gas-defs.exp index 48e84b2..ffa5f68 100644 --- a/gas/testsuite/lib/gas-defs.exp +++ b/gas/testsuite/lib/gas-defs.exp @@ -495,6 +495,20 @@ proc regexp_diff { file_1 file_2 } { set end_2 1 set diff_pass 1 break + } elseif [ string match "#..." $line_b ] { + if { [gets $file_b line_b] == $eof } { + set end_2 1 + break + } + verbose "looking for \"^$line_b$\"" 3 + while { ![regexp "^$line_b$" "$line_a"] } { + verbose "skipping \"$line_a\"" 3 + if { [gets $file_a line_a] == $eof } { + set end_1 1 + break + } + } + break } if { [gets $file_b line_b] == $eof } { set end_2 1 |