[testsuite] Increase gcc.dg/pr43058.c timeout

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Wed Jul 14 15:47:00 GMT 2010


The gcc.dg/pr43058.c test times out on most of my systems:

WARNING: program timed out.
FAIL: gcc.dg/pr43058.c (test for excess errors)

Even on an idle Sun Fire T5220 (1.2 GHz UltraSPARC-T2), it takes

real     4:56.38
user     4:54.71
sys         0.35

or on an Sun Fire X4450 (2.93 GHz Xeon X7350)

real     1:18.01
user     1:17.20
sys         0.26

As soon as the machine is loaded (e.g. make -j<2 * ncpu> check), the
test is practically guaranteed not to complete within the regular 5
minute (300 s) timeout.  I'd therefore like to increase the timeout by a
factor of 4.

Ok for mainline and the 4.5 branch?

	Rainer


2010-07-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.dg/pr43058.c: Use dg-timeout-factor 4.

diff -r 53c3be5f051b gcc/testsuite/gcc.dg/pr43058.c
--- a/gcc/testsuite/gcc.dg/pr43058.c	Fri Jul 09 13:39:23 2010 +0200
+++ b/gcc/testsuite/gcc.dg/pr43058.c	Fri Jul 09 13:46:33 2010 +0200
@@ -1,6 +1,7 @@
 /* PR debug/43058 */
 /* { dg-do compile } */
 /* { dg-options "-g -O2" } */
+/* { dg-timeout-factor 4 } */
 
 extern void *f1 (void *, void *, void *);
 extern void *f2 (const char *, int, int, int, void *(*) ());

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list