From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32557 invoked by alias); 20 May 2003 20:48:35 -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 32517 invoked from network); 20 May 2003 20:48:34 -0000 Received: from unknown (HELO e34.co.us.ibm.com) (32.97.110.132) by sources.redhat.com with SMTP; 20 May 2003 20:48:34 -0000 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e34.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h4KKmYYp206350; Tue, 20 May 2003 16:48:34 -0400 Received: from unknown.host (d03av02.boulder.ibm.com [9.17.193.82]) by westrelay02.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h4KKmXHx056536; Tue, 20 May 2003 14:48:33 -0600 Received: (from janis@localhost) by unknown.host (8.9.3/8.9.3) id NAA26763; Tue, 20 May 2003 13:47:32 -0700 Date: Tue, 20 May 2003 20:51:00 -0000 From: Janis Johnson To: Stephen Biggs Cc: GCC list Subject: Re: Testsuite custom environment Message-ID: <20030520134729.A26353@us.ibm.com> References: <1053445707.2410.9.camel@steve.softier.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1053445707.2410.9.camel@steve.softier.local>; from xyzzy@hotpop.com on Tue, May 20, 2003 at 06:47:57PM +0300 X-SW-Source: 2003-05/txt/msg01903.txt.bz2 On Tue, May 20, 2003 at 06:47:57PM +0300, Stephen Biggs wrote: > I am trying to run 'make check-gcc' and wish to define my own set of > TORTURE_OPTIONS (specifically to do only "-O0"). I have tried different > things and nothing seems to work. E.g.: > $ export TORTURE_OPTIONS="{ { -O0 } }" ; make check-gcc > $ make TORTURE_OPTIONS="{ { -O0 } }" check-gcc > > The environment variable set is ignored and the full list of options is > applied. What am I doing wrong? Is this a problem with how I specify it > to the shell? This forces me to edit gcc/testsuite/lib/c-torture.exp > and put my own options in instead of what is there for TORTURE_OPTIONS. I've tried lots of different ways to get a variable passed through to the testing tools and haven't yet figured out how to do it. For the binary compatibility tests I gave up and had the Makefile write particular variables to site.exp; ugly, but it did what I needed. If there's a better way to do this, I'd like to know about it, too, and then we can fix the documentation. > Also, how do I specify > set_board_info gcc,no_label_values 1; > on the command line? At the moment, I have a changed > gcc/testsuite/config/default.exp where I add this line to the end, and > this is not right. Sorry, I don't know anything about this one. Janis