summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/config/ghc2
-rw-r--r--testsuite/driver/testlib.py3
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: