From c7e73d1234ecd34ab29e7da2d23e8f67df6a5b15 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 5 Feb 2019 14:39:52 -0500 Subject: testsuite: Add nonmoving WAY This simply runs the compile_and_run tests with `-xn`, enabling the nonmoving oldest generation. --- testsuite/config/ghc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'testsuite/config/ghc') 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 -- cgit v1.2.1