diff mbox

[RFA] testsuite: skip some testcases for pdp11

Message ID D7EC8D13-88FE-474E-80E6-939A4C393D4E@dell.com
State New
Headers show

Commit Message

Paul Koning Dec. 30, 2010, 8:52 p.m. UTC
This patch skips some testcases that don't fit on a pdp11.

Tested with make check.

Ok to commit?

	paul

ChangeLog:

2010-12-30  Paul Koning  <ni1d@arrl.net>

	* gcc.c-torture/execute/ieee/ieee.exp: Skip if pdp11.
	* gcc.c-torture/compile/20000804-1.c: Skip if pdp11 -O0.
	* gcc.c-torture/compile/20020312-1.c: Ditto.
	* gcc.c-torture/compile/20040101-1.c: Skip if pdp11 -O1, -O2, or
	-Os.

Comments

Gerald Pfeifer Dec. 31, 2010, 11:27 a.m. UTC | #1
On Thu, 30 Dec 2010, Paul Koning wrote:
> This patch skips some testcases that don't fit on a pdp11.
> 
> Tested with make check.
> 
> Ok to commit?

As our PDP11 maintainer you do not need further approval to make
such changes to the testsuite.  In other words, yes, this is okay
to commit provided you have tested it. :-)

Gerald
Paul Koning Dec. 31, 2010, 11:53 a.m. UTC | #2
On Dec 31, 2010, at 6:27 AM, Gerald Pfeifer wrote:

> On Thu, 30 Dec 2010, Paul Koning wrote:
>> This patch skips some testcases that don't fit on a pdp11.
>> 
>> Tested with make check.
>> 
>> Ok to commit?
> 
> As our PDP11 maintainer you do not need further approval to make
> such changes to the testsuite.  In other words, yes, this is okay
> to commit provided you have tested it. :-)

Thanks!  I wasn't sure, the wording in the rules on what back-end maintainers are allowed to do wasn't completely clear so I figured asking is better.

Committed.

	paul
diff mbox

Patch

Index: testsuite/gcc.c-torture/execute/ieee/ieee.exp
===================================================================
--- testsuite/gcc.c-torture/execute/ieee/ieee.exp	(revision 168294)
+++ testsuite/gcc.c-torture/execute/ieee/ieee.exp	(working copy)
@@ -1,6 +1,6 @@ 
 #
 # Expect driver script for GCC Regression Tests
-#   Copyright (C) 1993, 1996, 2001, 2005, 2007, 2008 Free Software Foundation
+#   Copyright (C) 1993, 1996, 2001, 2005, 2007, 2008, 2010 Free Software Foundation
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@ 
 # C torture test suite, and other contributors.
 
 # Disable tests on machines with no hardware support for IEEE arithmetic.
-if { [istarget "vax-*-*"] || [ istarget "powerpc-*-*spe"] } { return }
+if { [istarget "vax-*-*"] || [ istarget "powerpc-*-*spe"] || [istarget "pdp11-*-*"] } { return }
 
 if $tracelevel then {
     strace $tracelevel
Index: testsuite/gcc.c-torture/compile/20000804-1.c
===================================================================
--- testsuite/gcc.c-torture/compile/20000804-1.c	(revision 168294)
+++ testsuite/gcc.c-torture/compile/20000804-1.c	(working copy)
@@ -3,6 +3,7 @@ 
 /* { dg-do assemble } */
 /* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { ilp32 && { ! nonpic } } } { "*" } { "" } } */
 /* { dg-skip-if "No 64-bit registers" { m32c-*-* } { "*" } { "" } } */
+/* { dg-skip-if "Not enough 64-bit registers" { pdp11-*-* } { "-O0" } { "" } } */
 /* { dg-xfail-if "" { m6811-*-* m6812-*-* h8300-*-* } { "*" } { "" } } */
 
 /* Copyright (C) 2000, 2003 Free Software Foundation */
Index: testsuite/gcc.c-torture/compile/20040101-1.c
===================================================================
--- testsuite/gcc.c-torture/compile/20040101-1.c	(revision 168294)
+++ testsuite/gcc.c-torture/compile/20040101-1.c	(working copy)
@@ -1,3 +1,5 @@ 
+/* { dg-skip-if "not enough registers" { pdp11-*-* } { "-O[12s]" } { "" } } */
+
 typedef unsigned short uint16_t;
 typedef unsigned int uint32_t;
 
Index: testsuite/gcc.c-torture/compile/20020312-1.c
===================================================================
--- testsuite/gcc.c-torture/compile/20020312-1.c	(revision 168294)
+++ testsuite/gcc.c-torture/compile/20020312-1.c	(working copy)
@@ -2,6 +2,7 @@ 
    two 32-bit registers.  */
 /* { dg-do assemble } */
 /* { dg-xfail-if "" { m6811-*-* m6812-*-* } { "*" } { "" } } */
+/* { dg-skip-if "" { pdp11-*-* } { "-O0" } { "" } } */
 
 /* PR optimization/5892 */
 typedef struct { unsigned long a; unsigned int b, c; } A;