aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-10-19 18:04:56 +0000
committerNick Clifton <nickc@redhat.com>2000-10-19 18:04:56 +0000
commit9a1c93833a807ea80e9acf8d77d923029eda1f1f (patch)
tree8f3bf3d12a3dac90734514aaff8ab53e010da997 /binutils/testsuite
parentd3ee60d90e7faf9131ab413689c259cd4714d996 (diff)
downloadgdb-9a1c93833a807ea80e9acf8d77d923029eda1f1f.zip
gdb-9a1c93833a807ea80e9acf8d77d923029eda1f1f.tar.gz
gdb-9a1c93833a807ea80e9acf8d77d923029eda1f1f.tar.bz2
(readelf -S test, readelf -s test): Expect mips*-*-* to fail.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/ChangeLog7
-rw-r--r--binutils/testsuite/binutils-all/readelf.exp10
2 files changed, 13 insertions, 4 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 485107f..a1bfb5c 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2000-10-19 Chris Demetriou <cgd@sibyte.com>
+
+ * binutils-all/readelf.exp (readelf_test): Work properly
+ when multiple targets expect failtures.
+ (readelf -S test, readelf -s test): Expect mips*-*-*
+ to fail.
+
2000-07-10 Alan Modra <alan@linuxcare.com.au>
* lib/utils-lib.exp (default_binutils_assemble): Don't do the hppa
diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp
index 46a837c..3908370 100644
--- a/binutils/testsuite/binutils-all/readelf.exp
+++ b/binutils/testsuite/binutils-all/readelf.exp
@@ -166,8 +166,8 @@ proc readelf_test { options binary_file regexp_file xfails } {
send_log "exec $READELF $READELFFLAGS $options $binary_file > readelf.out\n"
catch "exec $READELF $READELFFLAGS $options $binary_file > readelf.out" got
- if { [llength $xfails] != 0 } then {
- setup_xfail $xfails
+ foreach xfail $xfails {
+ setup_xfail $xfail
}
if ![string match "" $got] then {
@@ -231,9 +231,11 @@ readelf_test -h $tempfile readelf.h {}
# The v850 fails the next two tests because it creates two special
# sections of its own: .call_table_data and .call_table_text
# The regexp scripts are not expecting these sections...
+# MIPS targets fail because they add .rela.txt (empty), .mdebug,
+# and .reginfo sections.
-readelf_test -S $tempfile readelf.s {v850*-*-*}
-readelf_test -s $tempfile readelf.ss {v850*-*-*}
+readelf_test -S $tempfile readelf.s {v850*-*-* mips*-*-*}
+readelf_test -s $tempfile readelf.ss {v850*-*-* mips*-*-*}
readelf_test -r $tempfile readelf.r {}