[commit: ghc] wip/nonmoving-gc: testsuite: Add nonmoving WAY (2d1626a)

git at git.haskell.org git at git.haskell.org
Wed Feb 6 14:10:22 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nonmoving-gc
Link       : http://ghc.haskell.org/trac/ghc/changeset/2d1626abcec420f453b2e8185969cc6a607a430b/ghc

>---------------------------------------------------------------

commit 2d1626abcec420f453b2e8185969cc6a607a430b
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.


>---------------------------------------------------------------

2d1626abcec420f453b2e8185969cc6a607a430b
 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