summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2019-02-05 14:39:52 -0500
committerBen Gamari <ben@smart-cactus.org>2019-10-20 21:15:37 -0400
commitc7e73d1234ecd34ab29e7da2d23e8f67df6a5b15 (patch)
tree1ad0e51f8cfa12bbf62860d7a6baca3625dda164
parent68e0647f432f9d79ae13a23f614ef293bfd297a9 (diff)
downloadhaskell-c7e73d1234ecd34ab29e7da2d23e8f67df6a5b15.tar.gz
testsuite: Add nonmoving WAY
This simply runs the compile_and_run tests with `-xn`, enabling the nonmoving oldest generation.
-rw-r--r--testsuite/config/ghc7
1 files changed, 5 insertions, 2 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index bc888d1661..ec35ed0d8c 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -26,7 +26,8 @@ config.other_ways = ['prof', 'normal_h',
'profllvm', 'profoptllvm', 'profthreadedllvm',
'debug',
'ghci-ext', 'ghci-ext-prof',
- 'ext-interp']
+ 'ext-interp',
+ 'nonmoving']
if ghc_with_native_codegen:
config.compile_ways.append('optasm')
@@ -96,7 +97,8 @@ config.way_flags = {
'profthreadedllvm' : ['-O', '-prof', '-static', '-fprof-auto', '-threaded', '-fllvm'],
'ghci-ext' : ['--interactive', '-v0', '-ignore-dot-ghci', '-fno-ghci-history', '-fexternal-interpreter', '+RTS', '-I0.1', '-RTS'],
'ghci-ext-prof' : ['--interactive', '-v0', '-ignore-dot-ghci', '-fno-ghci-history', '-fexternal-interpreter', '-prof', '+RTS', '-I0.1', '-RTS'],
- 'ext-interp' : ['-fexternal-interpreter'],
+ 'ext-interp' : ['-fexternal-interpreter'],
+ 'nonmoving' : ['-debug'],
}
config.way_rts_flags = {
@@ -135,6 +137,7 @@ config.way_rts_flags = {
'ghci-ext' : [],
'ghci-ext-prof' : [],
'ext-interp' : [],
+ 'nonmoving' : ['-DS', '-xn'],
}
# Useful classes of ways that can be used with only_ways(), omit_ways() and