mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-25 03:36:40 +01:00
gnu: curl: Skip failing test on x86-32.
* gnu/packages/curl.scm (curl-7.84.0)[arguments]<#:phases>: When running on x86-32, add a phase to skip test 3026 “curl_global_init thread-safety”.
This commit is contained in:
parent
2533e7f8d1
commit
aeb8c4fbea
1 changed files with 17 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
|||
(define-module (gnu packages curl)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix utils)
|
||||
|
@ -152,7 +153,22 @@ (define curl-7.84.0
|
|||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1f2xgj0wvys9xw50h7vcbaraavjr9rxx9n06x2xfbgs7ym1qn49d"))))))
|
||||
"1f2xgj0wvys9xw50h7vcbaraavjr9rxx9n06x2xfbgs7ym1qn49d"))))
|
||||
(arguments (substitute-keyword-arguments (package-arguments curl)
|
||||
((#:phases phases)
|
||||
(cond
|
||||
((target-x86-32?)
|
||||
#~(modify-phases #$phases
|
||||
(add-after 'unpack 'skip-failing-tests
|
||||
(lambda _
|
||||
(with-output-to-port
|
||||
(open-file "tests/data/DISABLED" "a")
|
||||
(lambda ()
|
||||
(display "# curl_global_init thread-safety")
|
||||
(newline)
|
||||
(display 3026)
|
||||
(newline)))))))
|
||||
(else phases)))))))
|
||||
|
||||
(define-public curl-minimal
|
||||
(deprecated-package "curl-minimal" curl))
|
||||
|
|
Loading…
Reference in a new issue