Commit: Fix simple binutils testsuite failures

Nick Clifton nickc@redhat.com
Wed Jun 22 13:42:00 GMT 2016


Hi Guys,

  Following on from my recent gas test result improvement patch, here is
  on for various easy-to-fix binutils testsuite failures.  This patch
  resolves:
  
    alpha-dec-vms:             ar thin archive, ar thin archive with nested, ar symbol table
    alpha-linuxecoff:          ar thin archive, ar thin archive with nested, ar symbol table  
    alpha-unknown-freebsd4.7:  ar unique symbol in archive
    alpha-unknown-osf4.0:      ar thin archive, ar thin archive with nested, ar symbol table  
    arm-aout:                  thumb2-cond test1, thumb2-cond test2   
    i386-darwin:               copy with setting section flags
    i386-pc-go32:              copy with setting section flags
    i686-pc-beos:              nm --size-sort   
    mips-elf:                  objcopy (compare update-1.o update-4.o) 
    mips-sgi-irix6:            readelf -s, objcopy (compare update-1.o update-4.o) 
    mips64vrel-elf:            objcopy (compare update-1.o update-4.o) 
    msp430-elf:                objdump -W for debug_ranges 
    nds32le-elf:               objdump compress debug sections, objdump compress debug sections 3, objdump -W for debug_ranges 
    pdp11-dec-aout:            objcopy --reverse-bytes, objcopy -O srec  
    powerpc-ibm-aix5.2.0:      copy with setting section flags, strip --strip-unneeded on common symbol
    rs6000-aix4.3.3:           strip --strip-unneeded on common symbol
    rx-elf:                    objdump -h, objdump -r, objdump -s, readelf -S, readelf -r, readelf -p, size -A   
    tic30-unknown-aout:        ar long file names, ar thin archive, ar thin archive with nested
    tilepro-elf:               readelf -S   
    tx39-elf:                  objcopy (compare update-1.o update-4.o) 
    x86_64-darwin:             objcopy --reverse-bytes, objcopy -O srec

Cheers
  Nick

binutils/ChangeLog
2016-06-22  Nick Clifton  <nickc@redhat.com>

	* testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
	Skip bfdtest1 tests for tic30 target.
	* testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
	target.
	* testsuite/binutils-all/compress.exp: Expect some tests to fail
	on the nds32.
	* testsuite/binutils-all/copy-3.d: Skip for go32 targets.
	* testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
	targets.
	* testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
	targets.
	* testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
	if the bintest.o file was created.  Use the
	get_standard_section_names proc to get the name of the data
	section.
	* testsuite/binutils-all/objdump.exp: Update regexps to allow for
	RX section names.
	* testsuite/binutils-all/readelf.exp: Use
	get_standard_section_names proc to get the name of the data
	section.
	* testsuite/binutils-all/readelf.r: Allow for non standard text
	section names.
	* testsuite/binutils-all/readelf.s: Update regexps for tilepro.
	* testsuite/binutils-all/size.exp: Allow for non standard section
	names.
	* testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
	to fail on mips targets.
	* testsuite/lib/utils-lib.exp (default_binutils_run): Use
	get_standard_section_names proc.
	(run_dump_test): Likewise.
	(proc get_standard_section_names): New proc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils.tests.patch
Type: text/x-patch
Size: 20174 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160622/03953af6/attachment.bin>


More information about the Binutils mailing list