testsuite: Don't run T15892 in nonmoving ways
authorBen Gamari <ben@smart-cactus.org>
Tue, 5 Feb 2019 22:06:25 +0000 (17:06 -0500)
committerBen Gamari <ben@smart-cactus.org>
Mon, 24 Jun 2019 21:43:20 +0000 (17:43 -0400)
The nonmoving GC doesn't support `+RTS -G1`, which this test insists on.

testsuite/tests/codeGen/should_run/all.T

index 535ca86..928ac05 100644 (file)
@@ -191,9 +191,11 @@ 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'])
 test('T16617', normal, compile_and_run, [''])
 test('T16449_2', exit_code(0), compile_and_run, [''])