Hi Robert, Sorry being so late.
On Mon, 2009-02-23 at 21:58 +0100, Robert Schwebel wrote: > Hi Subrata, > > On Thu, Feb 19, 2009 at 09:35:22AM +0100, Juergen Beisert wrote: > > > > > specific time is currently also possible without this patch. Just give > > > > > the '-t <time>' option *and* than the '-s 1' option. But it is racy > > > > > yet, to do so. > > > > > > -s is never used to say how many times it should run or not. It??s use > > > is: > > > -s PATTERN Only run test cases which match PATTERN. > > > > Huh? From the source of pan (pan.c) I read: > > > > [...] > > case 's': /* number of tags to run */ > > starts = atoi(optarg); > > break; > > [...] > > > > It seems more a number than a string, or? > > > > And from its help output: > > > > [ -s starts ] > > > > So im confused now with your answer. > > Can we clarify this, I hope to slip this patch into the next release... There are different ways runltp and pan interpret their arguments. While it should have been ideally that the arguments in runltp are exactly synonymous to pan. But that is not the truth. So, <runltp -s> will originally mean: -s PATTERN Only run test cases which match PATTERN. And when you pass this argument to runltp, it never passes it to pan in the same way. So, pan´s -s, which is actually: -s starts does not match with runltp´s -s. And the script runltp never invokes pan with this option. So, we can have the following option: 1) Align all pan´s options to runltp (and not vice-versa), 2) If there are conflicts in this alignment of the option names being the same, then we may need to change the case in runltp rather than pan, and update the documentation (pan is more stable than runltp). I would prefer to twick runltp than pan.c. Regards-- Subrata > > Thanks, > rsc ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
