diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-06-03 15:15:57 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-06-11 20:00:37 +0200 |
commit | 5e66a698dae8c01bcd1a9335346145b32016e119 (patch) | |
tree | fbb6b45c5ec7051856d9af1b1e9da0c81aba3a8e /testsuite/driver | |
parent | 6cefeb373e13c25f6c8c1d08975e14a8655f0bc9 (diff) | |
download | haskell-5e66a698dae8c01bcd1a9335346145b32016e119.tar.gz |
Testsuite: change some expect_fail tests to expect_broken
Change the following tests from expect_fail to expect_broken: and list
the ticket number:
* driver/sigof03m/sigof03 (#9252)
* driver/static001 (#8127)
* partial-sigs/should_compile/EqualityConstraint (#9478)
* partial-sigs/should_compile/ExtraNumAMROn (#9478)
* partial-sigs/should_compile/PatBind2 (#9478)
* partial-sigs/should_fail/TidyClash2 (#9478)
* simplCore/should_compile/T8832 (#8832)
The following tests are still marked as expect_fail, but it is not
clearly documented why so:
* gadt/lazypatok
* indexed-types/should_fail/SkolemOccursLoop
All other expect_fail tests are only expected to fail on either a
certain platform/os or for a certain way only.
Differential Revision: https://phabricator.haskell.org/D966
Diffstat (limited to 'testsuite/driver')
-rw-r--r-- | testsuite/driver/testlib.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index 671db9afb8..c6150da0b8 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -84,6 +84,9 @@ def skip( name, opts ): opts.skip = 1 def expect_fail( name, opts ): + # The compiler, testdriver, OS or platform is missing a certain + # feature, and we don't plan to or can't fix it now or in the + # future. opts.expect = 'fail'; def reqlib( lib ): @@ -149,6 +152,8 @@ def _expect_fail_for( name, opts, ways ): opts.expect_fail_for = ways def expect_broken( bug ): + # This test is a expected not to work due to the indicated trac bug + # number. return lambda name, opts, b=bug: _expect_broken (name, opts, b ) def _expect_broken( name, opts, bug ): |