diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-06-25 18:16:32 -0400 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2019-06-26 08:20:54 -0400 |
commit | 44d08c32f5038bd395bf24df3f5c9f0297a3d0f0 (patch) | |
tree | 4a36dd07cab6c6f6e7810d8c6c7e20717b3dd882 /testsuite/driver/junit.py | |
parent | 551b79e4c2685f0c6de16e274efd686f26ca3876 (diff) | |
download | haskell-44d08c32f5038bd395bf24df3f5c9f0297a3d0f0.tar.gz |
testsuite: Run and report on fragile tests
This allows us to run (but ignore the result of) fragile testcases.
Hopefully this should allow us to more easily spot when a fragile test
becomes un-fragile.
Diffstat (limited to 'testsuite/driver/junit.py')
-rw-r--r-- | testsuite/driver/junit.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/driver/junit.py b/testsuite/driver/junit.py index 9ff00ec1cb..180a81ab15 100644 --- a/testsuite/driver/junit.py +++ b/testsuite/driver/junit.py @@ -18,7 +18,8 @@ def junit(t: TestRun) -> ET.ElementTree: for res_type, group in [('stat failure', t.unexpected_stat_failures), ('unexpected failure', t.unexpected_failures), - ('unexpected pass', t.unexpected_passes)]: + ('unexpected pass', t.unexpected_passes), + ('fragile', t.fragile_results)]: for tr in group: testcase = ET.SubElement(testsuite, 'testcase', classname = tr.way, |