This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Testsuite custom environment
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: Stephen Biggs <xyzzy at hotpop dot com>
- Cc: GCC list <gcc at gcc dot gnu dot org>
- Date: 20 May 2003 19:37:14 +0100
- Subject: Re: Testsuite custom environment
- References: <1053445707.2410.9.camel@steve.softier.local>
Stephen Biggs <xyzzy@hotpop.com> 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