From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24357 invoked by alias); 3 Nov 2011 15:47:04 -0000 Received: (qmail 24347 invoked by uid 22791); 3 Nov 2011 15:47:03 -0000 X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-qw0-f41.google.com (HELO mail-qw0-f41.google.com) (209.85.216.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Nov 2011 15:46:49 +0000 Received: by qadc11 with SMTP id c11so1545658qad.0 for ; Thu, 03 Nov 2011 08:46:49 -0700 (PDT) Received: by 10.224.185.199 with SMTP id cp7mr4934277qab.68.1320335209020; Thu, 03 Nov 2011 08:46:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.185.199 with SMTP id cp7mr4934268qab.68.1320335208878; Thu, 03 Nov 2011 08:46:48 -0700 (PDT) Received: by 10.224.6.76 with HTTP; Thu, 3 Nov 2011 08:46:48 -0700 (PDT) In-Reply-To: <20111102232147.GA7605@host1.jankratochvil.net> References: <20111102221154.8A3C12461B1@ruffy.mtv.corp.google.com> <20111102232147.GA7605@host1.jankratochvil.net> Date: Thu, 03 Nov 2011 15:47:00 -0000 Message-ID: Subject: Re: [patch] print-threads.exp: Extend timeout for slower tests. From: Doug Evans To: Jan Kratochvil Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-11/txt/msg00072.txt.bz2 On Wed, Nov 2, 2011 at 4:21 PM, Jan Kratochvil wrote: > On Wed, 02 Nov 2011 23:11:54 +0100, Doug Evans wrote: >> +# Record the old timeout, we need to extend it for slower tests. >> +set oldtimeout $timeout > > You can use global $gdb_test_timeout nowadays. Thanks, I didn't know about gdb_test_timeout. Still, I like the patch as is, one less global the code has to care about.