summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-02-05 17:06:25 -0500
committerBen Gamari <ben@smart-cactus.org>2019-02-22 11:26:41 -0500
commit9942bc3d58b84a2cffebdf424e4f8872d8e69f5b (patch)
tree071d1a90048a97a180b1d968ef9025913a2077dd
parent710732cfa672e6cb8302be9f457fa88658ca53aa (diff)
downloadhaskell-9942bc3d58b84a2cffebdf424e4f8872d8e69f5b.tar.gz
testsuite: Don't run T15892 in nonmoving ways
The nonmoving GC doesn't support `+RTS -G1`, which this test insists on.
-rw-r--r--testsuite/tests/codeGen/should_run/all.T8
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuite/tests/codeGen/should_run/all.T b/testsuite/tests/codeGen/should_run/all.T
index 7f976b8107..5e8a3a3616 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'])