From a552305fec6e02bb39de45cf07d603f332093520 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Mon, 1 Aug 2016 21:52:26 +0200 Subject: [PATCH] Show also times in testreport.py --- dev/testreport.py | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/dev/testreport.py b/dev/testreport.py index 3b36917..3682da1 100755 --- a/dev/testreport.py +++ b/dev/testreport.py @@ -123,6 +123,10 @@ def report_one_test_suite(xml): name = xml.attribute('name') errors = int(xml.attribute('errors')) failures = int(xml.attribute('failures')) + time = float(xml.attribute('time')) + + # Optionally show time + #print('%.4f s spent in module "%s"' % (time, name)) # If there are errors or failures then print them if errors > 0 or failures > 0: -- libgit2 0.21.4