[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DejaGnu] Command line variable usage enhancement
From: |
Rob Savoye |
Subject: |
Re: [DejaGnu] Command line variable usage enhancement |
Date: |
Mon, 30 Jul 2001 11:34:32 -0600 |
User-agent: |
Mutt/1.2i |
On Fri, Jul 27, 2001 at 12:13:00PM -0600, Paul A. Houghton wrote:
> VAR=vaue). The only problem is, they are not 'relized' until the
> tests start running. This means these variables can not be accessed
> from TESTTOP/lib/$TOOL.exp or config/$BOARD.exp.
>
> It would be helpful if this code (line ~1149):
>
> "[A-Z0-9_-.]*=*" { # process makefile style args like CC=gcc, etc...
>
> could be moved to just after( line 519):
>
> This way the command line variables would be set before any of my
> scripts, configs or libraries are sourced.
Sounds like a good idea. The location of the code that sets variables from
command line options was arbitrary, so I moved it. Once I get a chance to
test it, I'll check it in, but it looks like a safe, and good change.
- rob -