From d03223334e42d0a92541381fe050bd9aa6b69117 Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Mon, 11 Feb 2019 22:03:33 -0500
Subject: [PATCH] testsuite: Add nonmoving_thr_ghc way

This uses the nonmoving collector when compiling the testcases.
---
 testsuite/config/ghc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index a5f4fe502b5..b4018d21a00 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -25,8 +25,8 @@ config.other_ways         = ['prof', 'normal_h',
                              'debug',
                              'ghci-ext', 'ghci-ext-prof',
                              'ext-interp',
-                             'nonmoving',
-X                             'nonmoving_thr_ghc']
+                             'nonmoving', 'nonmoving_thr',
+                             'nonmoving_thr_ghc']
 
 if ghc_with_native_codegen:
     config.compile_ways.append('optasm')
@@ -99,6 +99,7 @@ config.way_flags = {
     'ext-interp'   : ['-fexternal-interpreter'],
     'nonmoving'    : ['-debug'],
     'nonmoving_thr': ['-threaded -debug'],
+    'nonmoving_thr_ghc': ['+RTS', '-xn', '-N2', '-RTS', '-threaded', '-debug'],
    }
 
 config.way_rts_flags = {
@@ -139,6 +140,7 @@ config.way_rts_flags = {
     'ext-interp'       : [],
     'nonmoving'        : ['-DS -xn'],
     'nonmoving_thr'    : ['-DS -xn -N2'],
+    'nonmoving_thr_ghc': ['-DS -xn -N2'],
    }
 
 # Useful classes of ways that can be used with only_ways(), omit_ways() and
-- 
GitLab