gnu: ghc-8.10: Fix build on i686-linux.

As one profiling test fails very repeatedly on the bordeaux build farm, but
ghc did seem to build successfully on other machines.

* gnu/packages/haskell.scm (ghc-8.10)[arguments]: Don't run the T11627a
profiling test on i686-linux.
This commit is contained in:
Christopher Baines 2023-07-15 10:39:30 +01:00
parent 3755941f03
commit 36cbd2654e
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577

View File

@ -1271,8 +1271,11 @@ interactive environment for the functional language Haskell.")
;; next rebuild. Note that they are required for GHC 8.10 and 9.2.
#$@(if (string-prefix? "i686" (or (%current-target-system)
(%current-system)))
#~((add-after 'skip-failing-tests-i686 'skip-failing-tests-i686-cuirass
#~((add-after 'skip-failing-tests-i686 'skip-more-failing-tests-i686
(lambda _
(substitute* '("testsuite/tests/profiling/should_run/all.T")
(("test\\('T11627a', \\[ ")
"test('T11627a', [ when(arch('i386'), skip), "))
(substitute* '("testsuite/driver/testlib.py")
((".*changes being made to the file will invalidate the code signature.*")
"")