]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
(readelf -S test, readelf -s test): Expect mips*-*-* to fail.
authorNick Clifton <nickc@redhat.com>
Thu, 19 Oct 2000 18:04:56 +0000 (18:04 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 19 Oct 2000 18:04:56 +0000 (18:04 +0000)
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/readelf.exp

index 485107fec04d329dfaa69231f24a5f8834efd845..a1bfb5c75a9470c34f640ea4df9bf6d2d3667767 100644 (file)
@@ -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
index 46a837cc0aa40c0c4b06b1e70c3a5b61c0dfc0b9..3908370b3966389e617711b91d80b5d2a39f38cc 100644 (file)
@@ -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  {}