diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-07-04 11:28:15 -0400 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2019-07-18 20:55:11 -0400 |
commit | b9e9d8c97cc6f3f96466969a48a03f7be5999de2 (patch) | |
tree | a7c3b27c13db87395e9866f5015c331d4c584fd5 | |
parent | e8adffb528f65749b5648c44ab711ef9aec4c69a (diff) | |
download | haskell-b9e9d8c97cc6f3f96466969a48a03f7be5999de2.tar.gz |
testsuite: Fix req_th
-rw-r--r-- | testsuite/config/ghc | 2 | ||||
-rw-r--r-- | testsuite/driver/testlib.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc index a617fe2dc8..3ca55fc325 100644 --- a/testsuite/config/ghc +++ b/testsuite/config/ghc @@ -1,3 +1,5 @@ +# vim: set filetype=python: + import re # Testsuite configuration setup for GHC diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index e263bd33de..e394e484ca 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -193,7 +193,8 @@ def req_th( name, opts ): case. """ req_interp(name, opts) - return when(ghc_dynamic(), omit_ways(['profasm'])) + if ghc_dynamic(): + return _omit_ways(name, opts, ['profasm', 'profthreaded']) def req_smp( name, opts ): if not config.have_smp: |