summaryrefslogtreecommitdiff
path: root/testsuite/config
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-01-20 16:26:16 +0000
committerIan Lynagh <igloo@earth.li>2009-01-20 16:26:16 +0000
commit9c9e249112ac0b5580736c56246fdf46e4471079 (patch)
treeb06fad2dd868d78be24335ce52584ddc711472fc /testsuite/config
parentbe6233ff858433b6b8cb745e531ed32b2169468a (diff)
downloadhaskell-9c9e249112ac0b5580736c56246fdf46e4471079.tar.gz
In older compilers, only try to remove the profthreaded way if it exists
Otherwise the testsuite driver fails.
Diffstat (limited to 'testsuite/config')
-rw-r--r--testsuite/config/ghc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 44aee44603..44541d7bd5 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -103,7 +103,7 @@ def get_compiler_info():
config.compiler_tags = v[1:]
# remove profthreaded for GHC <6.9, it didn't work
- if version_lt(config.compiler_version, '6.9'):
+ if ('profthreaded' in config.run_ways) and version_lt(config.compiler_version, '6.9'):
config.run_ways.remove('profthreaded')
if version_ge(config.compiler_version, '6.9'):