From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17579 invoked by alias); 9 Feb 2010 18:44:20 -0000 Received: (qmail 17569 invoked by uid 22791); 9 Feb 2010 18:44:19 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Feb 2010 18:44:12 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0KXL00J007WO0M00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Tue, 09 Feb 2010 20:43:00 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.70.67.249]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KXL00G9Q7ZNH5B0@a-mtaout23.012.net.il>; Tue, 09 Feb 2010 20:43:00 +0200 (IST) Date: Tue, 09 Feb 2010 18:44:00 -0000 From: Eli Zaretskii Subject: Re: [RFA/doco/testsuite] Document new gdb_test_timeout global variable. In-reply-to: <20100209131015.GH16325@adacore.com> To: Joel Brobecker Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <836366dzd0.fsf@gnu.org> References: <1265631452-2476-1-git-send-email-brobecker@adacore.com> <83eikvegcs.fsf@gnu.org> <20100209131015.GH16325@adacore.com> 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-02/txt/msg00260.txt.bz2 > Date: Tue, 9 Feb 2010 17:10:15 +0400 > From: Joel Brobecker > Cc: gdb-patches@sourceware.org > > > > +If not specifically defined, this variable gets automatically defined > > > +to the same value as @code{timeout} during the testsuite initialization > > > +(the actual value depends on the exact running parameters). > > > > It would be worth saying more about how to find out the default > > value. If I'm a reader of this section, I might ask myself whether I > > need to set the variable to a non-default value, but it is impossible > > to answer that question without knowing what would be the value if I > > don't do anything. > > The problem is that this is tricky and really depends a lot on whether > the user uses a board file or not, since dejagnu is so configurable > (you should see the list of files that get loaded at startup). I'm not > even certain that *I* know the entire story: As far as I can tell, > gdb/testsuite/config/unix.exp sets a timeout of 60 seconds. I don't > think we set the timeout anywhere else. So that leaves the question > of board files. If the user used board files, then they may or may not > have also set the timeout there. How about this? The default value of the timeout is defined in the file @file{gdb/testsuite/config/unix.exp} that is part of the @value{GDBN} test suite@footnote{ If you are using a board file, it could override the test-suite default; search the board file for "timeout".}.