sparc gas testsuite fixes
Alan Modra
amodra@bigpond.net.au
Mon Aug 26 03:42:00 GMT 2002
Applying mainline and branch.
gas/testsuite/ChangeLog
* gas/sparc/sparc.exp (sparc_elf_setup): New.
Use it to xfail for non-ELF targets.
Index: gas/testsuite/gas/sparc/sparc.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/sparc/sparc.exp,v
retrieving revision 1.4
diff -u -p -r1.4 sparc.exp
--- gas/testsuite/gas/sparc/sparc.exp 21 Dec 2001 22:35:24 -0000 1.4
+++ gas/testsuite/gas/sparc/sparc.exp 26 Aug 2002 08:25:37 -0000
@@ -16,10 +16,21 @@ proc gas_64_check { } {
return [regexp "elf64\[_-\]sparc" $nm_help];
}
+proc sparc_elf_setup { } {
+ setup_xfail "sparc*-*-*aout*" "sparc*-*-sunos4*" "sparc*-*-vxworks*"
+ setup_xfail "sparc*-fujitsu-none" "sparc*-*-*n*bsd*"
+ setup_xfail "sparc*-*-coff" "sparc*-*-lynxos*"
+ clear_xfail "sparc64*-*-*n*bsd*"
+}
+
if [istarget sparc*-*-*] {
run_dump_test "synth"
+ # The next three tests are ELF only.
+ sparc_elf_setup
run_dump_test "unalign"
+ sparc_elf_setup
run_dump_test "pcrel"
+ sparc_elf_setup
run_dump_test "plt"
if [gas_64_check] {
run_dump_test "asi"
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list