This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

binutils testsuite fixes


Gets rid of a number of inappropriate fails.

	* binutils-all/ar.exp: Don't run unique_symbol on msp or hpux.
	* binutils-all/copy-2.d: Update not-target list.
	* binutils-all/note-1.d: Don't run on h8300.
	* binutils-all/objcopy.exp: Don't run strip-10 on msp or hpux.
	(objcopy_test): Remove h8300-rtems from xfails.

Index: binutils/testsuite/binutils-all/ar.exp
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/ar.exp,v
retrieving revision 1.14
diff -u -p -r1.14 ar.exp
--- binutils/testsuite/binutils-all/ar.exp	26 Mar 2010 01:42:36 -0000	1.14
+++ binutils/testsuite/binutils-all/ar.exp	23 Sep 2010 05:24:49 -0000
@@ -446,6 +446,8 @@ thin_archive
 thin_archive_with_nested
 argument_parsing
 deterministic_archive
-if [is_elf_format] {
+if { [is_elf_format]
+     && ![istarget "*-*-hpux*"]
+     && ![istarget "msp*-*-*"] } {
     unique_symbol
 }
Index: binutils/testsuite/binutils-all/copy-2.d
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/copy-2.d,v
retrieving revision 1.5
diff -u -p -r1.5 copy-2.d
--- binutils/testsuite/binutils-all/copy-2.d	18 Oct 2009 07:43:03 -0000	1.5
+++ binutils/testsuite/binutils-all/copy-2.d	23 Sep 2010 05:24:49 -0000
@@ -3,7 +3,7 @@
 #objcopy: --set-section-flags foo=contents,alloc,load,code
 #name: copy with setting section flags 2
 #source: copytest.s
-#not-target: *-*-*aout m68k-*-netbsd m68k-*-openbsd* ns32k-*-netbsd
+#not-target: *-*-*aout *-*-aix* h8300-*-* hppa-*-hpux* m68k-*-netbsd m68k-*-openbsd* mips-sony-bsd* mips-*-ultrix* mips-*-osf* mips-*-ecoff* mips-*-irix mips-*-irix[2-4] mips-*-riscos* ns32k-*-netbsd
 # Note - we use copytest.s and a section named "foo" rather
 # than .text because for some file formats (eg PE) the .text
 # section has a fixed set of flags and these cannot be changed.
Index: binutils/testsuite/binutils-all/note-1.d
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/note-1.d,v
retrieving revision 1.1
diff -u -p -r1.1 note-1.d
--- binutils/testsuite/binutils-all/note-1.d	1 Feb 2010 09:59:46 -0000	1.1
+++ binutils/testsuite/binutils-all/note-1.d	23 Sep 2010 05:24:49 -0000
@@ -3,6 +3,7 @@
 #objcopy: --add-section .note=$srcdir/note-1.d
 #name: add notes section
 #source: copytest.s
+#not-target: h8300-*-*
 
 There are .*
 
Index: binutils/testsuite/binutils-all/objcopy.exp
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/objcopy.exp,v
retrieving revision 1.68
diff -u -p -r1.68 objcopy.exp
--- binutils/testsuite/binutils-all/objcopy.exp	10 Sep 2010 12:11:28 -0000	1.68
+++ binutils/testsuite/binutils-all/objcopy.exp	23 Sep 2010 05:24:49 -0000
@@ -79,7 +79,7 @@ proc objcopy_test {testname srcfile} {
 	# files in the first place, and may order things a little
 	# differently. Those systems should use setup_xfail here.
 
-	setup_xfail "h8300-*-rtems*" "h8300-*-coff"
+	setup_xfail "h8300-*-coff"
 	setup_xfail "h8500-*-rtems*" "h8500-*-coff"
 	setup_xfail "hppa*-*-*"
 	setup_xfail "i960-*"
@@ -890,7 +890,10 @@ if [is_elf_format] {
     run_dump_test "strip-7"
     run_dump_test "strip-8"
     run_dump_test "strip-9"
-    run_dump_test "strip-10"
+    if { ![istarget "*-*-hpux*"]
+	 && ![istarget "msp*-*-*"] } {
+	run_dump_test "strip-10"
+    }
 
     if { [istarget "i*86-*"] || [istarget "x86_64-*-*"] } {
 	# Check to make sure we don't strip a symbol named in relocations.


-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]