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
sell...@mips.com


_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
https://lists.gnu.org/mailman/listinfo/dejagnu

Reply via email to