From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27628 invoked by alias); 21 Oct 2002 19:35:08 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 27532 invoked from network); 21 Oct 2002 19:35:04 -0000 Received: from unknown (HELO fw.j-son.org) (213.64.105.80) by sources.redhat.com with SMTP; 21 Oct 2002 19:35:04 -0000 Received: from chj by fw.j-son.org with local (Exim 3.36 #1 (Debian)) id 183iKH-00072y-00 for ; Mon, 21 Oct 2002 21:34:57 +0200 Date: Mon, 21 Oct 2002 16:13:00 -0000 To: gcc Subject: How do I run dejagnu's runtest with other timeout value for specific tests in gcc's testsuite? Message-ID: <20021021193456.GA4595@j-son.org> Mail-Followup-To: gcc Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i From: =?iso-8859-1?Q?Christian_J=F6nsson?= X-SW-Source: 2002-10/txt/msg01276.txt.bz2 I might sound a bit stupid here but hey, I'll take the chance then... How do you run the testsuite, let's say a specific test, with a timeout that's not the default, i.e., the value set in the dejagnu files? I'm thnking of something like this: make check-gcc RUNTESTFLAGS="gcc.c-torture/compile.exp=20001226-1* other-options" can I for example set timeout = 600 somehow as other-options? Tha problem is that I get timeouts like this: === gcc tests === Running target unix WARNING: program timed out. FAIL: gcc.c-torture/compile/20001226-1.c, -O1 WARNING: program timed out. FAIL: gcc.c-torture/compile/20001226-1.c, -O2 WARNING: program timed out. FAIL: gcc.c-torture/compile/20001226-1.c, -O3 -fomit-frame-pointer WARNING: program timed out. FAIL: gcc.c-torture/compile/20001226-1.c, -O3 -g WARNING: program timed out. FAIL: gcc.c-torture/compile/20001226-1.c, -Os that I would like to see if they are due to my system being too old or if it's simply not ever coming to a halt... >From the log file, I see the following: Executing on host: /share1/gcc-dev/objdir/gcc/xgcc -B/share1/gcc-dev/objdir/gcc/ -w -O0 -c -o /usr/local/src/gcc-binutils/trunk/objdir/gcc/testsuite/20001226-1.o /usr/local/src/gcc-binutils/trunk/gcc-binutils/gcc/testsuite/gcc.c-torture/compile/20001226-1.c (timeout = 300) PASS: gcc.c-torture/compile/20001226-1.c, -O0 Executing on host: /share1/gcc-dev/objdir/gcc/xgcc -B/share1/gcc-dev/objdir/gcc/ -w -O1 -c -o /usr/local/src/gcc-binutils/trunk/objdir/gcc/testsuite/20001226-1.o /usr/local/src/gcc-binutils/trunk/gcc-binutils/gcc/testsuite/gcc.c-torture/compile/20001226-1.c (timeout = 300) WARNING: program timed out. compiler exited with status 1 FAIL: gcc.c-torture/compile/20001226-1.c, -O1 etc. Cheers, /ChJ