public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Janis Johnson <janis187@us.ibm.com>
To: Stephen Biggs <xyzzy@hotpop.com>
Cc: GCC list <gcc@gcc.gnu.org>
Subject: Re: Testsuite custom environment
Date: Tue, 20 May 2003 20:51:00 -0000	[thread overview]
Message-ID: <20030520134729.A26353@us.ibm.com> (raw)
In-Reply-To: <1053445707.2410.9.camel@steve.softier.local>; from xyzzy@hotpop.com on Tue, May 20, 2003 at 06:47:57PM +0300

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

  parent reply	other threads:[~2003-05-20 20:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-20 16:34 Stephen Biggs
2003-05-20 18:42 ` Richard Sandiford
2003-05-20 20:51 ` Janis Johnson [this message]
2003-05-20 21:38   ` David Edelsohn
2003-05-20 22:00     ` Janis Johnson
2003-05-20 22:08       ` Janis Johnson
2003-05-20 23:23         ` Mike Stump
2003-06-03  7:51           ` Stephen Biggs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030520134729.A26353@us.ibm.com \
    --to=janis187@us.ibm.com \
    --cc=gcc@gcc.gnu.org \
    --cc=xyzzy@hotpop.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).