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]

Re: Binutils branch 2.20 (done!)


On Fri, Sep 04, 2009 at 09:09:53PM -0400, DJ Delorie wrote:
> 
> > we can tag them as XFAIL in the branch though ...
> 
> Those tests don't use the usual dejagnu framework - they're run
> manually by all/gas.exp.  There doesn't seem to be XFAIL support in
> that code.

We can easily just not run the tests.

	* gas/all/gas.exp (do_comment): Don't run on m32c.
	* gas/all/align.d: Likewise.
	* gas/all/incbin.d: Likewise.
	* gas/macros/semi.d: Likewise.
	* gas/elf/ifunc-1.d: Don't run on alpha.

Index: gas/testsuite/gas/all/align.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/align.d,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 align.d
--- gas/testsuite/gas/all/align.d	3 May 1999 07:28:47 -0000	1.1.1.1
+++ gas/testsuite/gas/all/align.d	8 Sep 2009 02:15:47 -0000
@@ -1,5 +1,6 @@
 #objdump: -s -j .text
 #name: align
+#not-target: m32c-*
 
 # Test the alignment pseudo-op.
 
Index: gas/testsuite/gas/all/gas.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/gas.exp,v
retrieving revision 1.57
diff -u -p -r1.57 gas.exp
--- gas/testsuite/gas/all/gas.exp	16 Apr 2009 04:24:06 -0000	1.57
+++ gas/testsuite/gas/all/gas.exp	8 Sep 2009 02:15:48 -0000
@@ -144,7 +144,13 @@ proc do_comment {} {
     if [all_ones $x1 $x2 $x3] then { pass $testname } else { fail $testname }
 }
 
-do_comment
+# m32c pads out sections, even empty ones.
+case $target_triplet in {
+    { m32c-*-* } { }
+    default {
+	do_comment
+    }
+}
 
 # This test checks the output of the -ag switch. It must detect at least
 # the name of the input file, output file, and options passed.
Index: gas/testsuite/gas/all/incbin.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/incbin.d,v
retrieving revision 1.3
diff -u -p -r1.3 incbin.d
--- gas/testsuite/gas/all/incbin.d	21 Dec 2001 11:40:53 -0000	1.3
+++ gas/testsuite/gas/all/incbin.d	8 Sep 2009 02:15:48 -0000
@@ -1,6 +1,7 @@
 #as: -I$srcdir/$subdir
 #objdump: -s -j .text
 #name: incbin
+#not-target: m32c-*
 
 # Test the incbin pseudo-op
 
Index: gas/testsuite/gas/elf/ifunc-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/elf/ifunc-1.d,v
retrieving revision 1.1
diff -u -p -r1.1 ifunc-1.d
--- gas/testsuite/gas/elf/ifunc-1.d	22 May 2009 18:11:59 -0000	1.1
+++ gas/testsuite/gas/elf/ifunc-1.d	8 Sep 2009 02:15:48 -0000
@@ -1,5 +1,6 @@
 #readelf: -s
 #name: .set with IFUNC
+#not-target: alpha*
 
 #...
 [ 	]+[0-9]+:[ 	]+[0-9a-f]+[ 	]+[0-9]+[ 	]+IFUNC[ 	]+GLOBAL[ 	]+DEFAULT[ 	]+[1-9] __GI_foo
Index: gas/testsuite/gas/macros/semi.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/macros/semi.d,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 semi.d
--- gas/testsuite/gas/macros/semi.d	3 May 1999 07:28:51 -0000	1.1.1.1
+++ gas/testsuite/gas/macros/semi.d	8 Sep 2009 02:15:49 -0000
@@ -1,5 +1,6 @@
 #objdump: -s -j .text
 #name: semi
+#not-target: m32c-*
 
 .*: .*
 


-- 
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]