From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10210 invoked by alias); 20 May 2003 18:41:58 -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 10111 invoked from network); 20 May 2003 18:41:56 -0000 Received: from unknown (HELO talisman.cambridge.redhat.com) (213.86.99.237) by sources.redhat.com with SMTP; 20 May 2003 18:41:56 -0000 Received: (from rsandifo@localhost) by talisman.cambridge.redhat.com (8.11.6/8.11.6) id h4KIbFn23872; Tue, 20 May 2003 19:37:15 +0100 X-Authentication-Warning: talisman.cambridge.redhat.com: rsandifo set sender to rsandifo@redhat.com using -f To: Stephen Biggs Cc: GCC list Subject: Re: Testsuite custom environment References: <1053445707.2410.9.camel@steve.softier.local> From: Richard Sandiford Date: Tue, 20 May 2003 18:42:00 -0000 In-Reply-To: <1053445707.2410.9.camel@steve.softier.local> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg01891.txt.bz2 Stephen Biggs writes: > 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 think you want something like: make check-gcc RUNTESTFLAGS="TORTURE_OPTIONS=-O0" Richard