diff options
author | Ian Lynagh <igloo@earth.li> | 2009-01-20 16:26:16 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-01-20 16:26:16 +0000 |
commit | 9c9e249112ac0b5580736c56246fdf46e4471079 (patch) | |
tree | b06fad2dd868d78be24335ce52584ddc711472fc /testsuite/config | |
parent | be6233ff858433b6b8cb745e531ed32b2169468a (diff) | |
download | haskell-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/ghc | 2 |
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'): |