"<framework.results.TimeAttribute object @ wherever>" isn't an
especially useful thing to print in the output.

Signed-off-by: Adam Jackson <[email protected]>
---
 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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to