testsuite: Fix req_th
authorBen Gamari <ben@smart-cactus.org>
Thu, 4 Jul 2019 15:28:15 +0000 (11:28 -0400)
committerBen Gamari <ben@well-typed.com>
Fri, 19 Jul 2019 00:55:11 +0000 (20:55 -0400)
testsuite/config/ghc
testsuite/driver/testlib.py

index a617fe2..3ca55fc 100644 (file)
@@ -1,3 +1,5 @@
+# vim: set filetype=python:
+
 import re
 
 # Testsuite configuration setup for GHC
index e263bd3..e394e48 100644 (file)
@@ -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: