summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-07-22 21:13:04 +0000
committerDouglas Wilson <douglas.wilson@gmail.com>2022-07-27 11:29:56 +0100
commited9c4c6af55d6599eea8c6a0579a3b4bff05b303 (patch)
tree3a0e3e4e0730314f3418fca77a86d810137fc77c /libraries
parent094221ef9e5e0c50d16fafce6deffcdd72234b92 (diff)
downloadhaskell-ed9c4c6af55d6599eea8c6a0579a3b4bff05b303.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) (cherry picked from commit 25c24535ad51aa22b9cae425c6ac4ad9a8f1e1e9)
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/tests/all.T6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/base/tests/all.T b/libraries/base/tests/all.T
index d39b41b92a..c04a914146 100644
--- a/libraries/base/tests/all.T
+++ b/libraries/base/tests/all.T
@@ -258,7 +258,11 @@ test('T16943b', normal, compile_and_run, [''])
test('T17499', [collect_stats('bytes allocated',5)], compile_and_run, ['-O -w'])
test('T16643', normal, compile_and_run, [''])
test('clamp', normal, compile_and_run, [''])
-test('T18642', extra_run_opts('+RTS -T -RTS'), compile_and_run, ['-O2'])
+test('T18642',
+ [extra_run_opts('+RTS -T -RTS'),
+ # The nonmoving GC's residency behavior is very conservative
+ omit_ways(['nonmoving', 'nonmoving_thr', 'nonmoving_thr_sanity'])],
+ compile_and_run, ['-O2'])
test('T19288', exit_code(1), compile_and_run, [''])
test('T19719', normal, compile_and_run, [''])
test('T20107', extra_run_opts('+RTS -M50M'), compile_and_run, ['-package bytestring'])