summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-07-22 21:13:04 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-25 23:32:06 -0400
commit25c24535ad51aa22b9cae425c6ac4ad9a8f1e1e9 (patch)
tree8a2da92b6b70d18dc4d4245fc916d9952111f523 /testsuite/tests
parent54a5c32d9d0792d8f3f80728edf6f39db5321fe5 (diff)
downloadhaskell-25c24535ad51aa22b9cae425c6ac4ad9a8f1e1e9.tar.gz
testsuite: Skip a few tests as in the nonmoving collector
Residency monitoring under the non-moving collector is quite conservative (e.g. the reported value is larger than reality) since otherwise we would need to block on concurrent collection. Skip a few tests that are sensitive to residency. (cherry picked from commit 6880e4fbf728c04e8ce83e725bfc028fcb18cd70)
Diffstat (limited to 'testsuite/tests')
-rw-r--r--testsuite/tests/profiling/should_run/all.T4
-rw-r--r--testsuite/tests/rts/all.T12
2 files changed, 13 insertions, 3 deletions
diff --git a/testsuite/tests/profiling/should_run/all.T b/testsuite/tests/profiling/should_run/all.T
index 96a0d30bc6..0584b1dfa0 100644
--- a/testsuite/tests/profiling/should_run/all.T
+++ b/testsuite/tests/profiling/should_run/all.T
@@ -31,7 +31,9 @@ test('staticcallstack002',
['-O0 -g3 -fdistinct-constructor-tables -finfo-table-map'])
test('T21455',
- [extra_run_opts('+RTS -hT -postem')],
+ [extra_run_opts('+RTS -hT -postem'),
+ # Nonmoving collector doesn't support -hT
+ omit_ways(['nonmoving', 'nonmoving_thr', 'nonmoving_thr_sanity'])],
compile_and_run,
[''])
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index 7f65f2ca22..955289b91f 100644
--- a/testsuite/tests/rts/all.T
+++ b/testsuite/tests/rts/all.T
@@ -496,8 +496,16 @@ test('T17088',
test('T15427', normal, compile_and_run, [''])
-test('T19481', extra_run_opts('+RTS -T -RTS'), compile_and_run, [''])
-test('T19381', extra_run_opts('+RTS -T -RTS'), compile_and_run, [''])
+test('T19481',
+ [extra_run_opts('+RTS -T -RTS'),
+ # memory behavior changes appreciably with the nonmoving collector
+ omit_ways(['nonmoving', 'nonmoving_thr', 'nonmoving_thr_sanity'])],
+ compile_and_run, [''])
+test('T19381',
+ [extra_run_opts('+RTS -T -RTS'),
+ # memory behavior changes appreciably with the nonmoving collector
+ omit_ways(['nonmoving', 'nonmoving_thr', 'nonmoving_thr_sanity'])],
+ compile_and_run, [''])
test('T20199', [ grep_errmsg('Hello') ]
, makefile_test, [])