[commit: ghc] wip/nonmoving-gc: testsuite: Don't run T15892 in nonmoving ways (6647ba9)

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


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

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

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

commit 6647ba90e01bee3ca19037fcd1c2bda1fd9777d2
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Feb 5 17:06:25 2019 -0500

    testsuite: Don't run T15892 in nonmoving ways
    
    The nonmoving GC doesn't support `+RTS -G1`, which this test insists on.


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

6647ba90e01bee3ca19037fcd1c2bda1fd9777d2
 testsuite/tests/codeGen/should_run/all.T | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/testsuite/tests/codeGen/should_run/all.T b/testsuite/tests/codeGen/should_run/all.T
index 7f976b8..5e8a3a3 100644
--- a/testsuite/tests/codeGen/should_run/all.T
+++ b/testsuite/tests/codeGen/should_run/all.T
@@ -188,7 +188,9 @@ test('T15696_3', normal, compile_and_run, ['-O'])
 
 test('T15892',
      [ ignore_stdout,
-        # we want to do lots of major GC to make the bug more likely to
-        # happen, so -G1 -A32k:
-        extra_run_opts('+RTS -G1 -A32k -RTS') ],
+       # -G1 is unsupported by the nonmoving GC
+       omit_ways(['nonmoving', 'nonmoving_thr']),
+       # we want to do lots of major GC to make the bug more likely to
+       # happen, so -G1 -A32k:
+       extra_run_opts('+RTS -G1 -A32k -RTS') ],
      compile_and_run, ['-O'])



More information about the ghc-commits mailing list