From patchwork Thu Jan 13 17:36:03 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 78786 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 76B17B70CC for ; Fri, 14 Jan 2011 04:36:17 +1100 (EST) Received: (qmail 14258 invoked by alias); 13 Jan 2011 17:36:15 -0000 Received: (qmail 14106 invoked by uid 22791); 13 Jan 2011 17:36:14 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 13 Jan 2011 17:36:08 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 71C9D523; Thu, 13 Jan 2011 18:36:05 +0100 (CET) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 97m3GKx1JLKn; Thu, 13 Jan 2011 18:36:03 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id C9A0B522; Thu, 13 Jan 2011 18:36:03 +0100 (CET) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p0DHa32R001921; Thu, 13 Jan 2011 18:36:03 +0100 (MET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: fortran@gcc.gnu.org Subject: [testsuite, fortran] Increase gfortran.dg/cray_pointers_2.f90 timeout Date: Thu, 13 Jan 2011 18:36:03 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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 * 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 !