This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: to XFAIL or not to XFAIL
- To: Nick Clifton <nickc at redhat dot com>
- Subject: Re: to XFAIL or not to XFAIL
- From: cgd at sibyte dot com (Chris G. Demetriou)
- Date: 19 Oct 2000 12:53:19 -0700
- Cc: binutils at sourceware dot cygnus dot com
- References: <200010191946.MAA04701@elmo.cygnus.com>
Nick Clifton <nickc@redhat.com> writes:
> : BTW, relating to this one, I noticed some stuff in the gas tests that
> : might make it possible to reasonable fix this up so it'll work on
> : mips-elf too, and re-enable it.
>
> That would be nice - how would the fix work ?
gas/testsuite/lib/gas-defs.exp (regexp_diff) had code added in rev 1.3
to make comment lines also allow for extra lines in the output being
compared against.
Basically, move that fix over into the binutils regexp_diff, and
adjust the testcase to add comment lines in the appropriate places and
get away from hard coding the section numbers in the readelf output.
I noticed this when plinking at the gas/elf/section[01].d changes i
submitted yesterday. That mod to gas regexp_diff had been added to
allow those tests to cope with additional output due to sections
present only on mips, and the application to the readelf problem
seemed obvious.
chris