me
/
guix
Archived
1
0
Fork 0

gnu: ghc: Disable failing test on i686

Conditionally, so we don’t rebuild GHC on amd64.

* gnu/packages/haskell.scm (ghc-9.2)[arguments]: Conditionally add phase
'skip-T21694-i686.
master
Lars-Dominik Braun 2023-02-27 19:49:03 +01:00
parent 29a278f65c
commit 086e426d20
No known key found for this signature in database
GPG Key ID: F663943E08D8092A
1 changed files with 10 additions and 1 deletions

View File

@ -1296,7 +1296,16 @@ interactive environment for the functional language Haskell.")
(replace 'fix-cc-reference
(lambda _
(substitute* "utils/hsc2hs/src/Common.hs"
(("\"cc\"") "\"gcc\""))))))
(("\"cc\"") "\"gcc\""))))
;; FIXME: Remove i686-specific match on the next rebuild cycle.
#$@(match (%current-system)
("i686-linux"
#~((add-after 'skip-more-tests 'skip-T21694-i686
(lambda _
(substitute* '("testsuite/tests/simplCore/should_compile/all.T")
(("^test\\('T21694', \\[ " all)
(string-append all "when(arch('i386'), skip), ")))))))
(_ #~()))))
;; Increase verbosity, so running the test suite does not time out on CI.
((#:make-flags make-flags ''())
#~(cons "VERBOSE=4" #$make-flags))))