Fix #1798 to include errors in total tests in junit xml output.

This commit is contained in:
Christian Boelsen
2016-08-08 13:29:20 +01:00
parent ac5c39e534
commit e4028b4505
4 changed files with 29 additions and 4 deletions

View File

@@ -369,7 +369,7 @@ class LogXML(object):
suite_stop_time = time.time()
suite_time_delta = suite_stop_time - self.suite_start_time
numtests = self.stats['passed'] + self.stats['failure'] + self.stats['skipped']
numtests = self.stats['passed'] + self.stats['failure'] + self.stats['skipped'] + self.stats['error']
logfile.write('<?xml version="1.0" encoding="utf-8"?>')
logfile.write(Junit.testsuite(