summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2023-02-07 16:19:57 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-02-10 09:53:51 -0500
commitc44e5f30caca390441e6efa7b9bdab4e698afd31 (patch)
tree259ae2cf095772d7cbeeac5fb529a19f042aa8ac /libraries
parent59556235a8d216b6274ad7966b70b585f585cdaa (diff)
downloadhaskell-c44e5f30caca390441e6efa7b9bdab4e698afd31.tar.gz
Testsuite: decrease length001 timeout for JS (#22921)
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/tests/all.T4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/base/tests/all.T b/libraries/base/tests/all.T
index 01f4094c6f..f3a97448d5 100644
--- a/libraries/base/tests/all.T
+++ b/libraries/base/tests/all.T
@@ -79,7 +79,9 @@ test('length001',
# excessive amounts of stack space. So we specifically set a low
# stack limit and mark it as failing under a few conditions.
[extra_run_opts('+RTS -K8m -RTS'),
- expect_fail_for(['normal', 'threaded1', 'llvm', 'nonmoving', 'nonmoving_thr', 'nonmoving_thr_ghc'])],
+ expect_fail_for(['normal', 'threaded1', 'llvm', 'nonmoving', 'nonmoving_thr', 'nonmoving_thr_ghc']),
+ # JS doesn't support stack limit so the test sometimes passes just fine. We decrease the timeout duration to force the failure.
+ when(js_arch(), run_timeout_multiplier(0.2))],
compile_and_run, [''])
test('ratio001', normal, compile_and_run, [''])