diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2019-02-10 21:59:38 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-02-11 08:25:37 -0500 |
commit | 180c9762d4565f0e8b192abf95d2bed57765e0c5 (patch) | |
tree | 20984db48f19d1d86a7d796a037afd90519a3cd4 | |
parent | b1662e812c09b8b7c41b90415eecb0c7f215a09b (diff) | |
download | haskell-180c9762d4565f0e8b192abf95d2bed57765e0c5.tar.gz |
testsuite: Report unexpected passes in junit output
-rw-r--r-- | testsuite/driver/junit.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testsuite/driver/junit.py b/testsuite/driver/junit.py index ec840181b9..d376a061c8 100644 --- a/testsuite/driver/junit.py +++ b/testsuite/driver/junit.py @@ -7,12 +7,15 @@ def junit(t): id = "0", package = 'ghc', tests = str(t.total_tests), - failures = str(len(t.unexpected_failures) + len(t.unexpected_stat_failures)), + failures = str(len(t.unexpected_failures) + + len(t.unexpected_stat_failures) + + len(t.unexpected_passes)), errors = str(len(t.framework_failures)), 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 tr in group: testcase = ET.SubElement(testsuite, 'testcase', classname = tr.way, |