This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
gas testsuite fixes
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 23 Sep 2010 21:46:24 +0930
- Subject: gas testsuite fixes
Assorted gas testsuite fixes.
* gas/all/gas.exp: Update "forward" and "redef3" xfails.
* gas/m68k/all.exp: Don't xfail pcrel on uclinux.
* gas/sh/arch/arch.exp: Don't pass dashes to send_log.
Index: gas/testsuite/gas/all/gas.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/gas.exp,v
retrieving revision 1.64
diff -u -p -r1.64 gas.exp
--- gas/testsuite/gas/all/gas.exp 3 Aug 2010 10:30:52 -0000 1.64
+++ gas/testsuite/gas/all/gas.exp 23 Sep 2010 05:24:55 -0000
@@ -79,7 +79,7 @@ case $target_triplet in {
{ mn10\[23\]00*-*-* } { }
default {
# Some targets don't manage to resolve BFD_RELOC_8 for constants.
- setup_xfail "alpha*-*-*" "avr-*-*" "*c30*-*-*" "*c4x*-*-*" \
+ setup_xfail "alpha*-*-*" "*c30*-*-*" "*c4x*-*-*" \
"d\[13\]0v*-*-*" "i860-*-*" "mips*-*-*" "msp430-*-*" \
"pdp11-*-*" "sparc*-*-*" "xtensa*-*-*"
run_dump_test forward
@@ -114,10 +114,12 @@ case $target_triplet in {
"*arm*-*-pe" "m68hc*-*-*" \
"rx-*-*" "vax*-*-*" "z8k-*-*"
run_dump_test redef2
- setup_xfail "*-*-aix*" "*-*-coff" "*-*-cygwin" "*-*-mingw*" "*-*-pe*" \
- "bfin-*-*" "hppa*-*-hpux*" \
- "m68hc*-*-*" "or32-*-*" \
- "rx-*-*" "vax*-*-*" "z8k-*-*"
+ setup_xfail "*-*-aix*" "bfin-*-*" "hppa*-*-hpux*" \
+ "i\[3-7\]86-*-*coff" "i\[3-7\]86-*-*pe" "i\[3-7\]86-*-go32*" \
+ "i\[3-7\]86-*-cygwin*" "i\[3-7\]86-*-mingw*" \
+ "x86_64-*-*coff" "x86_64-*-*pe" \
+ "x86_64-*-cygwin*" "x86_64-*-mingw*" \
+ "m68hc*-*-*" "or32-*-*" "rx-*-*" "vax*-*-*" "z8k-*-*"
run_dump_test redef3
gas_test_error "redef4.s" "" ".set for symbol already used as label"
gas_test_error "redef5.s" "" ".set for symbol already defined through .comm"
Index: gas/testsuite/gas/m68k/all.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/all.exp,v
retrieving revision 1.23
diff -u -p -r1.23 all.exp
--- gas/testsuite/gas/m68k/all.exp 2 Aug 2010 08:48:56 -0000 1.23
+++ gas/testsuite/gas/m68k/all.exp 23 Sep 2010 05:24:56 -0000
@@ -27,7 +27,7 @@ if { [istarget m68*-*-*] || [istarget fi
# Reloc types etc. need changing for aout and coff to pass.
setup_xfail "*-*"
- clear_xfail "*-*-*elf*" "*-*-sysv4*" "*-*-rtems" "*-*-*gnu*" "*-*-psos*"
+ clear_xfail "*-*-*elf*" "*-*-sysv4*" "*-*-rtems*" "*-*-*linux*" "*-*-*gnu*" "*-*-psos*"
run_dump_test pcrel
# Since fido is basically CPU32, it does not support those
Index: gas/testsuite/gas/sh/arch/arch.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/sh/arch/arch.exp,v
retrieving revision 1.8
diff -u -p -r1.8 arch.exp
--- gas/testsuite/gas/sh/arch/arch.exp 2 Sep 2009 07:24:26 -0000 1.8
+++ gas/testsuite/gas/sh/arch/arch.exp 23 Sep 2010 05:24:56 -0000
@@ -224,7 +224,7 @@ set insncount 0
# Pull the architecture inheritance macros out of sh-opc.h
# Pull all the insns out of the sh-opc.h file.
send_log "Reading sh-opc.h\n"
-send_log "--------------------------------------------------------\n"
+send_log "========================================================\n"
spawn -noecho cat "$srcdir/../../opcodes/sh-opc.h" ;# -open doesn't seem to be reliable
expect {
-re {#define\s+arch_([^ ]*)_up\s*\(([^)]*)\)} {
--
Alan Modra
Australia Development Lab, IBM