[commit: ghc] wip/gc/nonmoving-nonconcurrent: testsuite: Add nonmoving WAY (f50b734)
git at git.haskell.org
git at git.haskell.org
Thu Feb 21 15:12:33 UTC 2019
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/gc/nonmoving-nonconcurrent
Link : http://ghc.haskell.org/trac/ghc/changeset/f50b734a9386438a560047b87671fbb2352ff2f3/ghc
>---------------------------------------------------------------
commit f50b734a9386438a560047b87671fbb2352ff2f3
Author: Ben Gamari <ben at well-typed.com>
Date: Tue Feb 5 14:39:52 2019 -0500
testsuite: Add nonmoving WAY
This simply runs the compile_and_run tests with `-xn`, enabling the
nonmoving oldest generation.
>---------------------------------------------------------------
f50b734a9386438a560047b87671fbb2352ff2f3
testsuite/config/ghc | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 24294da..5f39c7e 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -24,7 +24,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')
@@ -94,7 +95,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 = {
@@ -133,6 +135,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
More information about the ghc-commits
mailing list