From: Subrata M. <su...@li...> - 2008-01-24 10:01:34
|
On Wed, 2008-01-23 at 14:00 -0200, Ricardo Salveti de Araujo wrote: > On Wednesday 23 January 2008 13:49:44 Subrata Modak wrote: > >Hi, > > > >It has been a long demand that ltp should be able to run say N no. of > >times sequentially. If we choose the default run, then all the default > >test cases will complete one run and then repeat over again and again. > >Similar will be the case if you choose selective test cases. This is > >mainly required for situations where the test case(s) is doubted to > >generate different results in the same environment in continuous runs. > >Unlike the -t Option which allows you to run the tests only in a > >particular interval (and here you don´t know where it will get > >terminated exactly), this option -T <REPETITION> will allow you to run > >this <REPETITION> times irrespective of the time it takes, and, > >definitely will vary from machine to machine, and the test case that you > >have selected to run. Instead of twiking the PAN (as it is stable > >enough), i found this simple implementation more attractive. > > > >Please review the attached patch. It works well for me. > > Look good for me, I just think that we should print a message for the user > saying that LTP will run the command test file for T times. Here comes the modified Patch which takes care of your need, as, well as Randyś comment(s). Post patch the following command: ./runltp -f syscalls-access -p -l ltp-syscalls-access.log -T 15 -g ltp-syscalls-access-iteration.html generates the attached results. Thanks-- Subrata > > Thanks, |