[commit: ghc] wip/junit-unexpected-passes: testsuite: Report unexpected passes in junit output (55e938e)

git at git.haskell.org git at git.haskell.org
Wed Jan 30 00:26:14 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/junit-unexpected-passes
Link       : http://ghc.haskell.org/trac/ghc/changeset/55e938e3a11af87377ff3a0f06dcb13783e448e7/ghc

>---------------------------------------------------------------

commit 55e938e3a11af87377ff3a0f06dcb13783e448e7
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Jan 28 20:40:18 2019 -0500

    testsuite: Report unexpected passes in junit output


>---------------------------------------------------------------

55e938e3a11af87377ff3a0f06dcb13783e448e7
 testsuite/driver/junit.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testsuite/driver/junit.py b/testsuite/driver/junit.py
index f5daec1..104660e 100644
--- a/testsuite/driver/junit.py
+++ b/testsuite/driver/junit.py
@@ -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,



More information about the ghc-commits mailing list