This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch, testsuite] Patch for slow tests on HPPA
- From: <sje at cup dot hp dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: janis187 at us dot ibm dot com
- Date: Thu, 04 Dec 2008 10:36:58 -0800
- Subject: [Patch, testsuite] Patch for slow tests on HPPA
- Reply-to: sje at cup dot hp dot com
I would like to use Janis's new dg-timeout-factor directive to fix a
couple of tests that time out on my slower PA boxes. I wasn't sure if
we wanted to use dg-timeout-factor for all platforms generally or if
we wanted to just add it just for platforms that need it. I chose the
conservative route, but I could see removing the target list so that we
don't have to keep changing the test to add more platforms.
Opinions?
OK for checkin?
Tested on HPPA HP-UX.
Steve Ellcey
sje@cup.hp.com
2008-12-04 Steve Ellcey <sje@cup.hp.com>
PR other/28614
* gcc.c-torture/compile/20001226-1.c: Add dg-timeout-factor.
* g++.dg/torture/pr31863.C: Ditto.
Index: gcc.c-torture/compile/20001226-1.c
===================================================================
--- gcc.c-torture/compile/20001226-1.c (revision 142425)
+++ gcc.c-torture/compile/20001226-1.c (working copy)
@@ -6,6 +6,7 @@
/* { dg-xfail-if "jump beyond 128K not supported" { xtensa*-*-* } { "-O0" } { "" } } */
/* { dg-xfail-if "PR36698" { spu-*-* } { "-O0" } { "" } } */
/* { dg-skip-if "" { m32c-*-* } { "*" } { "" } } */
+/* { dg-timeout-factor 2.0 { target hppa*-*-* } } */
/* This testcase exposed two branch shortening bugs on powerpc. */
Index: g++.dg/torture/pr31863.C
===================================================================
--- g++.dg/torture/pr31863.C (revision 142425)
+++ g++.dg/torture/pr31863.C (working copy)
@@ -1,4 +1,5 @@
/* { dg-do link } */
+/* { dg-timeout-factor 2.0 { target hppa*-*-* } } */
namespace Loki
{