testsuite: Report unexpected passes in junit output wip/junit-unexpected-passes
authorBen Gamari <ben@smart-cactus.org>
Tue, 29 Jan 2019 01:40:18 +0000 (20:40 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 29 Jan 2019 01:40:39 +0000 (20:40 -0500)
testsuite/driver/junit.py

index f5daec1..104660e 100644 (file)
@@ -12,7 +12,8 @@ def junit(t):
                               timestamp = datetime.now().isoformat())
 
     for res_type, group in [('stat failure', t.unexpected_stat_failures),
-                          ('unexpected failure', t.unexpected_failures)]:
+                            ('unexpected failure', t.unexpected_failures),
+                            ('unexpected_passes', t.unexpected_passes)]:
         for (directory, testname, reason, way) in group:
             testcase = ET.SubElement(testsuite, 'testcase',
                                      classname = way,