dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIM env. variable question in baseboards


From: Steve Ellcey
Subject: Re: SIM env. variable question in baseboards
Date: Thu, 24 May 2012 17:00:14 -0700

On Fri, 2012-05-25 at 08:12 +1000, Ben Elliston wrote:
> On Thu, May 24, 2012 at 02:03:22PM -0700, Steve Ellcey  wrote:
> 
> > I am trying to create a generic baseboard file in dejagnu for use in
> > testing GCC with a simulator.  Rather then specify the simulator
> > name in the baseboard I want to use the SIM env. variable, but that
> > does not seem to be working.  Does any one know why?
> 
> It's because SIM is not meant to be an environment variable.  It's a
> Tcl global variable that you can set in site.exp or from the command
> line, eg:
> 
>   $ runtest SIM=foosim ...
> 
> Ben

Ah, that did the trick.  I set SIM in GCC's RUNTESTFLAGS variable and it
all worked great.  Thanks for the help.

Steve Ellcey
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]