From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12399 invoked by alias); 15 Nov 2010 17:20:29 -0000 Received: (qmail 12383 invoked by uid 22791); 15 Nov 2010 17:20:28 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 15 Nov 2010 17:20:22 +0000 Received: from hpaq11.eem.corp.google.com (hpaq11.eem.corp.google.com [172.25.149.11]) by smtp-out.google.com with ESMTP id oAFHKKto015453 for ; Mon, 15 Nov 2010 09:20:20 -0800 Received: from ruffy.mtv.corp.google.com (ruffy.mtv.corp.google.com [172.18.118.116]) by hpaq11.eem.corp.google.com with ESMTP id oAFHKIXL008621 for ; Mon, 15 Nov 2010 09:20:19 -0800 Received: by ruffy.mtv.corp.google.com (Postfix, from userid 67641) id 6E05C2461AA; Mon, 15 Nov 2010 09:20:18 -0800 (PST) To: gdb-patches@sourceware.org Subject: [commit] increase timeout for "maint print statistics" test Message-Id: <20101115172018.6E05C2461AA@ruffy.mtv.corp.google.com> Date: Mon, 15 Nov 2010 17:20:00 -0000 From: dje@google.com (Doug Evans) 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: 2010-11/txt/msg00174.txt.bz2 Hi. fyi, I checked this in. I happened to see a timeout on a linux machine I was testing on so I just increased the timeout for all targets. Plus the test wasn't restoring the timeout afterwards. 2010-11-15 Doug Evans * gdb.base/maint.exp (maint print statistics): Increase timeout for all targets. Restore old timeout afterwards. Index: gdb.base/maint.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/maint.exp,v retrieving revision 1.49 diff -u -p -r1.49 maint.exp --- gdb.base/maint.exp 9 Nov 2010 04:44:17 -0000 1.49 +++ gdb.base/maint.exp 15 Nov 2010 17:14:06 -0000 @@ -143,11 +143,10 @@ gdb_test "maint demangle main" "Can't de # The timeout value is raised, because printing all the symbols and # statistical information about Cygwin and Windows libraries takes a lot -# of time. -if [istarget "*-*-cygwin*"] { - set oldtimeout $timeout - set timeout [expr $timeout + 500] -} +# of time. This has been noticed on some linux systems too, so just raise +# the timeout globally. +set oldtimeout $timeout +set timeout [expr $timeout + 500] send_gdb "maint print statistics\n" gdb_expect { @@ -163,6 +162,8 @@ gdb_expect { timeout { fail "(timeout) maint print statistics" } } +set timeout $oldtimeout + # There aren't any ... gdb_test_no_output "maint print dummy-frames"