On Fri, 2010-10-22 at 16:16 -0400, Jeff Moyer wrote:
> Hi,
> 
> If you want to find the results from tiobench, you currently have to dig
> through debug logs.  This should be an improvement on that.
> 
> Cheers,
> Jeff
> 
> Signed-off-by: Jeff Moyer <[email protected]>
> 
> diff --git a/client/tests/tiobench/tiobench.py 
> b/client/tests/tiobench/tiobench.py
> index e0693aa..aae14f2 100644
> --- a/client/tests/tiobench/tiobench.py
> +++ b/client/tests/tiobench/tiobench.py
> @@ -29,4 +29,5 @@ class tiobench(test.test):
>              self.args = args
>  
>          os.chdir(self.srcdir)
> -        utils.system('./tiobench.pl --dir %s %s' %(self.dir, self.args))
> +        self.results.append(
> +            utils.system('./tiobench.pl --dir %s %s' %(self.dir, self.args)))

We don't have a shared results attribute in the tests class, although we
might think about adding one. Also, it occurred to me that we really
really need to start documenting the facilities (ie, test attributes)
that test writers could use for more convenience.

I've re-spin the patch, I hope you like the modified version!

Cheers,

Lucas

> _______________________________________________
> Autotest mailing list
> [email protected]
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest


_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to