This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [patch] Disabling mipscop tests


On Thu, 2 May 2002, Richard Henderson wrote:

> On Thu, May 02, 2002 at 02:15:55PM -0700, Matt Hiller wrote:
> > +	set torture_compile_xfail "$target_triplet"
> > +	return 1
> 
> Either xfail or return 1, not both.

Okay. This is now fixed, as are some .x fragments which misled me into
thinking that returning 1 was the right thing to do.

2002-05-14  Matt Hiller  <hiller@redhat.com>

	* testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
	XFAILing.
	* testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
	* testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
        * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
        * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
        * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
        * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.

Index: gcc/testsuite/gcc.c-torture/compile/20000804-1.x
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20000804-1.x,v
retrieving revision 1.1
diff -u -r1.1 20000804-1.x
--- gcc/testsuite/gcc.c-torture/compile/20000804-1.x	21 May 2001 12:06:52 -0000	1.1
+++ gcc/testsuite/gcc.c-torture/compile/20000804-1.x	15 May 2002 00:47:33 -0000
@@ -4,7 +4,6 @@
 global target_triplet
 if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] } {
       set torture_compile_xfail "$target_triplet"
-      return 1
 }
 
 return 0
Index: gcc/testsuite/gcc.c-torture/compile/20001226-1.x
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20001226-1.x,v
retrieving revision 1.2
diff -u -r1.2 20001226-1.x
--- gcc/testsuite/gcc.c-torture/compile/20001226-1.x	23 Jan 2002 21:03:53 -0000	1.2
+++ gcc/testsuite/gcc.c-torture/compile/20001226-1.x	15 May 2002 00:47:33 -0000
@@ -8,6 +8,5 @@
 global target_triplet
 if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] || [istarget "xtensa-*-*"]} {
       set torture_compile_xfail "$target_triplet"
-      return 1
 }
 return 0
Index: gcc/testsuite/gcc.c-torture/compile/920520-1.x
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/920520-1.x,v
retrieving revision 1.3
diff -u -r1.3 920520-1.x
--- gcc/testsuite/gcc.c-torture/compile/920520-1.x	21 May 2001 20:38:05 -0000	1.3
+++ gcc/testsuite/gcc.c-torture/compile/920520-1.x	15 May 2002 00:47:33 -0000
@@ -6,6 +6,5 @@
 global target_triplet
 if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] } {
       set torture_compile_xfail "$target_triplet"
-      return 1
 }
 return 0
Index: gcc/testsuite/gcc.c-torture/compile/mipscop-1.x
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/mipscop-1.x,v
retrieving revision 1.1
diff -u -r1.1 mipscop-1.x
--- gcc/testsuite/gcc.c-torture/compile/mipscop-1.x	25 Apr 2002 19:31:45 -0000	1.1
+++ gcc/testsuite/gcc.c-torture/compile/mipscop-1.x	15 May 2002 00:47:33 -0000
@@ -2,6 +2,8 @@
 
 if { ![istarget "*mips*"] } {
 	return 1
+} else {
+	set torture_compile_xfail "$target_triplet"
 }
 
 return 0
Index: gcc/testsuite/gcc.c-torture/compile/mipscop-2.x
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/mipscop-2.x,v
retrieving revision 1.1
diff -u -r1.1 mipscop-2.x
--- gcc/testsuite/gcc.c-torture/compile/mipscop-2.x	25 Apr 2002 19:31:45 -0000	1.1
+++ gcc/testsuite/gcc.c-torture/compile/mipscop-2.x	15 May 2002 00:47:33 -0000
@@ -2,6 +2,8 @@
 
 if { ![istarget "*mips*"] } {
 	return 1
+} else {
+	set torture_compile_xfail "$target_triplet"
 }
 
 return 0
Index: gcc/testsuite/gcc.c-torture/compile/mipscop-3.x
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/mipscop-3.x,v
retrieving revision 1.1
diff -u -r1.1 mipscop-3.x
--- gcc/testsuite/gcc.c-torture/compile/mipscop-3.x	25 Apr 2002 19:31:45 -0000	1.1
+++ gcc/testsuite/gcc.c-torture/compile/mipscop-3.x	15 May 2002 00:47:33 -0000
@@ -2,6 +2,8 @@
 
 if { ![istarget "*mips*"] } {
 	return 1
+} else {
+	set torture_compile_xfail "$target_triplet"
 }
 
 return 0
Index: gcc/testsuite/gcc.c-torture/compile/mipscop-4.x
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/mipscop-4.x,v
retrieving revision 1.1
diff -u -r1.1 mipscop-4.x
--- gcc/testsuite/gcc.c-torture/compile/mipscop-4.x	25 Apr 2002 19:31:45 -0000	1.1
+++ gcc/testsuite/gcc.c-torture/compile/mipscop-4.x	15 May 2002 00:47:33 -0000
@@ -2,6 +2,8 @@
 
 if { ![istarget "*mips*"] } {
 	return 1
+} else {
+	set torture_compile_xfail "$target_triplet"
 }
 
 return 0


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