Bug0046

Description
Inconsistent pyFLASH behaviour

When you run an "execute" command, you use the set case=foo to set a case. When you are running scanners you need to actually do a "load foo". This isn't consistent. The scanner should be able to use the shell variables (IMHO) for consistency. I.e. you can do set case=foo ... execute loading of io source... then run the scanners.

Attach backtrace here.
Logged
2007-08-30
Logged By

AlanLeigh

Assigned to
Status
Closed

Get back to the BugIndex


The set commands just append that variable implicitly to the end of each command line. They are not really recognised at all by pyflash. For example you can do a set foobar=something and pyflash will not mind.

the only command which actually uses it is the execute command - all other case related commands need to know which case they operate in (i.e. load case must be issued).

Maybe the best solution is to make execute command implicitely add a case=current_case to the command line args.

Eventually I want most of the functionality to be done by pyflash instead of the Report gui - which will mean we can scrap the execute command altogether.