[Git][ghc/ghc][wip/marge_bot_batch_merge_job] testsuite: increase timeout of ghc-api tests for wasm32

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Tue Oct 24 17:09:54 UTC 2023



Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC


Commits:
dde1d7ff by Cheng Shao at 2023-10-24T13:09:50-04:00
testsuite: increase timeout of ghc-api tests for wasm32

ghc-api tests for wasm32 are more likely to timeout due to the large
wasm module sizes, especially when testing with wasm native tail
calls, given wasmtime's handling of tail call opcodes are suboptimal
at the moment. It makes sense to increase timeout specifically for
these tests on wasm32. This doesn't affect other targets, and for
wasm32 we don't increase timeout for all tests, so not to risk letting
major performance regressions slip through the testsuite.

- - - - -


2 changed files:

- testsuite/tests/ghc-api/all.T
- testsuite/tests/ghc-api/downsweep/all.T


Changes:

=====================================
testsuite/tests/ghc-api/all.T
=====================================
@@ -1,3 +1,5 @@
+setTestOpts(when(arch('wasm32'), run_timeout_multiplier(2)))
+
 test('ghcApi', normal, compile_and_run, ['-package ghc'])
 test('T6145', js_broken(22352), makefile_test, ['T6145'])
 test('T8639_api', req_rts_linker,


=====================================
testsuite/tests/ghc-api/downsweep/all.T
=====================================
@@ -1,3 +1,5 @@
+setTestOpts(when(arch('wasm32'), run_timeout_multiplier(2)))
+
 test('PartialDownsweep',
      [ extra_run_opts('"' + config.libdir + '"')
      , ignore_stderr



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/dde1d7ff0656269a90b512984fd19de8da21411d

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/dde1d7ff0656269a90b512984fd19de8da21411d
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20231024/0b81aa33/attachment.html>


More information about the ghc-commits mailing list