From 9a1c93833a807ea80e9acf8d77d923029eda1f1f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 19 Oct 2000 18:04:56 +0000 Subject: [PATCH] (readelf -S test, readelf -s test): Expect mips*-*-* to fail. --- binutils/testsuite/ChangeLog | 7 +++++++ binutils/testsuite/binutils-all/readelf.exp | 10 ++++++---- 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 + + * 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 * 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 {} -- 2.7.4