[Piglit] [PATCH] summary/csv: Fix elapsed time output
Dylan Baker
dylan at pnwbakers.com
Thu Sep 1 17:46:56 UTC 2016
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Quoting Adam Jackson (2016-09-01 07:26:45)
> "<framework.results.TimeAttribute object @ wherever>" isn't an
> especially useful thing to print in the output.
>
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
> framework/programs/summary.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/framework/programs/summary.py b/framework/programs/summary.py
> index c297a7b..e400d9a 100644
> --- a/framework/programs/summary.py
> +++ b/framework/programs/summary.py
> @@ -190,7 +190,7 @@ def csv(input_):
>
> def write_results(output):
> for name, result in six.iteritems(testrun.tests):
> - output.write("{},{},{},{}\n".format(name, result.time,
> + output.write("{},{},{},{}\n".format(name, result.time.total,
> result.returncode,
> result.result))
>
> --
> 2.7.4
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20160901/a7e8a427/attachment.sig>
More information about the Piglit
mailing list