From patchwork Wed Dec 7 18:43:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jack Howarth X-Patchwork-Id: 130010 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 701791007D5 for ; Thu, 8 Dec 2011 05:44:01 +1100 (EST) Received: (qmail 19299 invoked by alias); 7 Dec 2011 18:44:00 -0000 Received: (qmail 19291 invoked by uid 22791); 7 Dec 2011 18:43:59 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bromo.med.uc.edu (HELO bromo.med.uc.edu) (129.137.3.146) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 07 Dec 2011 18:43:45 +0000 Received: from bromo.med.uc.edu (localhost.localdomain [127.0.0.1]) by bromo.med.uc.edu (Postfix) with ESMTP id 3F0CEB005D; Wed, 7 Dec 2011 13:43:44 -0500 (EST) Received: (from howarth@localhost) by bromo.med.uc.edu (8.14.3/8.14.3/Submit) id pB7Ihhl5002529; Wed, 7 Dec 2011 13:43:43 -0500 Date: Wed, 7 Dec 2011 13:43:43 -0500 From: Jack Howarth To: gcc-patches@gcc.gnu.org Cc: ubizjak@gmail.com Subject: [PATCH] increase timeout in simulate-thread gdb test Message-ID: <20111207184343.GA2527@bromo.med.uc.edu> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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 Currently we are failing... FAIL: gcc.dg/simulate-thread/atomic-load-int128.c -O1 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-load-int128.c -O2 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-load-int128.c -O3 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-load-int128.c -Os -g thread simulation test on x86_64-apple-darwin11 due to the 10 second timeout in simulate-thread of gcc/testsuite/lib/gcc-simulate-thread.exp. Increasing this timeout to 20 seconds eliminates the failures (as these test take ~16 seconds on x86_64-apple-darwin11). Okay for gcc trunk? Jack gcc/testsuite/ 2011-12-07 Jack Howarth * lib/gcc-simulate-thread.exp (simulate-thread): Increase timeout to 20 seconds. Index: gcc/testsuite/lib/gcc-simulate-thread.exp =================================================================== --- gcc/testsuite/lib/gcc-simulate-thread.exp (revision 182083) +++ gcc/testsuite/lib/gcc-simulate-thread.exp (working copy) @@ -56,8 +56,8 @@ proc simulate-thread { args } { set gdb_worked 0 - # Set timeout to 10 seconds due to huge amount of generated log. - remote_expect target 10 { + # Set timeout to 20 seconds due to huge amount of generated log. + remote_expect target 20 { # Too old GDB -re "Unhandled dwarf expression|Error in sourced command file" { unsupported "$testcase $message"