diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-04-07 11:50:11 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-04-07 11:50:17 +0200 |
commit | 0622970917cbebce01ccc1e4bfe9cbc75ab86ecf (patch) | |
tree | c10ef5be746c37c95c16f0c5828f9c7cd1069243 /testsuite/config/ghc | |
parent | f745b6e83647fb14bd80094db63ee087d69f4494 (diff) | |
download | haskell-0622970917cbebce01ccc1e4bfe9cbc75ab86ecf.tar.gz |
testdriver: delete unused ways
And mention more prominently that `-DDEBUG` and tests that call
`compiler_stats_num_fields` don't play well together
Reviewed By: austin
Differential Revision: https://phabricator.haskell.org/D799
Diffstat (limited to 'testsuite/config/ghc')
-rw-r--r-- | testsuite/config/ghc | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc index c208838268..6bfa535876 100644 --- a/testsuite/config/ghc +++ b/testsuite/config/ghc @@ -14,9 +14,11 @@ config.hpc = 'hpc' config.gs = 'gs' config.confdir = '.' -# By default, we test the 'normal', 'opt' and 'hpc' ways. -# 'optasm' is added by mk/test.mk if the compiler has a native code gen, -# 'prof' is added by mk/test.mk if the profiling way is enabled. +# By default, the 'normal' and 'hpc' ways are enabled. In addition, certain +# ways are enabled automatically if this GHC supports them. Ways that fall in +# this group are 'optasm', 'optllvm', 'profasm', 'threaded1', 'threaded2', +# 'profthreaded', 'ghci', and whichever of 'static/dyn' is not this GHC's +# default mode. Other ways should be set explicitly from .T files. config.compile_ways = ['normal', 'hpc'] config.run_ways = ['normal', 'hpc'] @@ -27,8 +29,6 @@ config.other_ways = ['prof', 'threaded1_ls', 'threaded2_hT', 'llvm', 'debugllvm', 'profllvm', 'profoptllvm', 'profthreadedllvm', - 'threaded1llvm', 'threaded2llvm', - 'dynllvm', 'debug'] if (ghc_with_native_codegen == 1): @@ -110,9 +110,6 @@ config.way_flags = lambda name : { 'profllvm' : ['-prof', '-static', '-auto-all', '-fllvm'], 'profoptllvm' : ['-O', '-prof', '-static', '-auto-all', '-fllvm'], 'profthreadedllvm' : ['-O', '-prof', '-static', '-auto-all', '-threaded', '-fllvm'], - 'threaded1llvm' : ['-threaded', '-debug', '-fllvm'], - 'threaded2llvm' : ['-O', '-threaded', '-eventlog', '-fllvm'], - 'dynllvm' : ['-O', '-dynamic', '-fllvm'] } config.way_rts_flags = { @@ -143,9 +140,6 @@ config.way_rts_flags = { 'profllvm' : ['-p'], 'profoptllvm' : ['-hc', '-p'], 'profthreadedllvm' : ['-p'], - 'threaded1llvm' : [], - 'threaded2llvm' : ['-N2 -ls'], - 'dynllvm' : [] } # Useful classes of ways that can be used with only_ways() and |