Ankita Garg wrote:
> So from the code it looks like that the commandline arguments specified
> to the test in run_auto.sh are overidden by those in the profile. This
> seems to be the right behavior, as this would allow one to have, lets say
> two profiles, one each for jvmsim enabled and disabled. But this being
> the case, we should clean up the arguments from run_auto.sh. For
> example, run_auto.sh in sched_latency should now read:
> 
> $SCRIPTS_DIR/run_c_files.sh $profile sched_latency
> 
> as against,
> 
> $SCRIPTS_DIR/run_c_files.sh $profile sched_latency -d 1 -t 10
> 
> Thoughts?

It's true, I forgot to clean this run_auto.sh.
I shall soon provide a patch for this.

> 
> Hey, I do not see the '-c' option being supported by any testcase...I am
> on ltp-full-20080430 though. The patches might have gone in after
> that ?

Actually this is done in rt_init which sets the global var 'pass_criteria'.
Tests have the choice to use it or not.

Note that I added the '-c xxx' arg in the default profile but this is 
just an example, it is not mandatory. This does not make any change to 
the previous behaviour as I used the default values.

I hope this clarifies.

Thanks for your comments.
Gilles.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to