diff options
| author | Lars-Dominik Braun <lars@6xq.net> | 2023-04-25 16:40:44 +0200 |
|---|---|---|
| committer | Lars-Dominik Braun <lars@6xq.net> | 2023-04-25 16:54:57 +0200 |
| commit | c354a345b9a75f9c298a9d13e9832314c6795ccb (patch) | |
| tree | 0d29545e28cc009408624e6333b7296dd6364cb2 /gnu/packages/haskell.scm | |
| parent | 3a37e3ecd8ae0bcc0e5d00393fa9365d611bcb71 (diff) | |
gnu: ghc-8.10: Avoid testsuite timeouts on i686.
* gnu/packages/haskell.scm (ghc-8.10)[arguments]: Add new phase
'skip-failing-tests-i686-cuirass.
Diffstat (limited to 'gnu/packages/haskell.scm')
| -rw-r--r-- | gnu/packages/haskell.scm | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 5f2e36b9ba2..6b2c86fec4a 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm | |||
| @@ -1261,7 +1261,24 @@ interactive environment for the functional language Haskell.") | |||
| 1261 | ;; quasiquotation/T14028.run T14028 [bad stderr] (dyn) | 1261 | ;; quasiquotation/T14028.run T14028 [bad stderr] (dyn) |
| 1262 | (substitute* '("testsuite/tests/quasiquotation/all.T") | 1262 | (substitute* '("testsuite/tests/quasiquotation/all.T") |
| 1263 | (("unless\\(config.have_ext_interp, skip\\),") | 1263 | (("unless\\(config.have_ext_interp, skip\\),") |
| 1264 | "unless(config.have_ext_interp, skip), when(arch('i386'), skip),")))))))) | 1264 | "unless(config.have_ext_interp, skip), when(arch('i386'), skip),")))) |
| 1265 | ;; i686 fails on CI, but (sometimes and with generous timeouts) completes | ||
| 1266 | ;; locally. The issue seems to be that the testsuite tries to run some very | ||
| 1267 | ;; broad regular expressions on output files of several megabytes in size, | ||
| 1268 | ;; which takes a long time. Since the expressions never match anything on | ||
| 1269 | ;; our builds anyways, remove them. | ||
| 1270 | ;; TODO: Merge with 'skip-failing-tests-i686 or move into snippets on | ||
| 1271 | ;; next rebuild. Note that they are required for GHC 8.10 and 9.2. | ||
| 1272 | #$@(if (string-prefix? "i686" (or (%current-target-system) | ||
| 1273 | (%current-system))) | ||
| 1274 | #~((add-after 'skip-failing-tests-i686 'skip-failing-tests-i686-cuirass | ||
| 1275 | (lambda _ | ||
| 1276 | (substitute* '("testsuite/driver/testlib.py") | ||
| 1277 | ((".*changes being made to the file will invalidate the code signature.*") | ||
| 1278 | "") | ||
| 1279 | ((".*warning: argument unused during compilation:.*") | ||
| 1280 | ""))))) | ||
| 1281 | #~()))))) | ||
| 1265 | (native-search-paths (list (search-path-specification | 1282 | (native-search-paths (list (search-path-specification |
| 1266 | (variable "GHC_PACKAGE_PATH") | 1283 | (variable "GHC_PACKAGE_PATH") |
| 1267 | (files (list | 1284 | (files (list |
