Commit a552305fec6e02bb39de45cf07d603f332093520

Authored by Jürgen Knödlseder
1 parent bc197f98

Show also times in testreport.py

Showing 1 changed file with 4 additions and 0 deletions
dev/testreport.py
... ... @@ -123,6 +123,10 @@ def report_one_test_suite(xml):
123 123 name = xml.attribute('name')
124 124 errors = int(xml.attribute('errors'))
125 125 failures = int(xml.attribute('failures'))
  126 + time = float(xml.attribute('time'))
  127 +
  128 + # Optionally show time
  129 + #print('%.4f s spent in module "%s"' % (time, name))
126 130  
127 131 # If there are errors or failures then print them
128 132 if errors > 0 or failures > 0:
... ...