[testsuite, fortran] Increase gfortran.dg/cray_pointers_2.f90 timeout

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Thu Jan 13 17:49:00 GMT 2011


I regularly see the gfortran.dg/cray_pointers_2.f90 timeout on slower
platforms.  I've run the -O3 test on various idle systems and found the
following user times:

1.2 GHz UltraSPARC-T2	1:15.65
250 MHz MIPS R10000	2:58.72
200 MHz MIPS R4400      7:57.07

Obviously, the times increase under load (i.e. make -jN check with N >
ncpus), therefore I'd like to increase the timeout factor by for to
account even for the loaded R4k case.

The total runtime of this single testcase on my R4k box is 47 min,
btw. ;-(  This seems quite excessive.

Unless the patch can be simplified somewhat to reduce the compilation
time, I'd like to install the following patch on trunk, 4.4 and 4.5
branches.

Tested by the appropriate runtest invocation on mips-sgi-irix5.3.

Ok everywhere?

Thanks.
	Rainer


2011-01-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gfortran.dg/cray_pointers_2.f90: Use dg-timeout-factor 4.

diff -r df72bcbc4f49 gcc/testsuite/gfortran.dg/cray_pointers_2.f90
--- a/gcc/testsuite/gfortran.dg/cray_pointers_2.f90	Thu Jan 13 11:16:57 2011 +0100
+++ b/gcc/testsuite/gfortran.dg/cray_pointers_2.f90	Thu Jan 13 17:26:32 2011 +0100
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fcray-pointer -fbounds-check -fno-inline" }
+! { dg-timeout-factor 4 }
 !
 ! Series of routines for testing a Cray pointer implementation
 !

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



More information about the Gcc-patches mailing list