We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e960322 commit b0ed7feCopy full SHA for b0ed7fe
1 file changed
cpplint.py
@@ -1126,9 +1126,9 @@ def FormatJUnitXML(self):
1126
num_failures = len(self._junit_failures)
1127
1128
testsuite = xml.etree.ElementTree.Element('testsuite')
1129
- testsuite.attrib['name'] = 'cpplint'
1130
testsuite.attrib['errors'] = str(num_errors)
1131
testsuite.attrib['failures'] = str(num_failures)
+ testsuite.attrib['name'] = 'cpplint'
1132
1133
if num_errors == 0 and num_failures == 0:
1134
testsuite.attrib['tests'] = str(1)
0 commit comments