gnu: go-github-com-valyala-fasthttp: Skip tests with gccgo.

* gnu/packages/golang.scm (go-github-com-valyala-fasthttp)[arguments]:
Don't run the test suite when building with gccgo.
This commit is contained in:
Efraim Flashner 2022-08-24 23:16:56 +03:00
parent e5fca82414
commit 932edeb3a0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -9150,7 +9150,16 @@ (define-public go-github-com-valyala-fasthttp
(base32 "12qwx0yk7wjj25v4fswgmj28r69gk94kqdmzavca8k9f0yznniz1"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/valyala/fasthttp"))
(list
#:import-path "github.com/valyala/fasthttp"
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs #:allow-other-keys #:rest args)
(unless
;; Tests hang forever with gccgo.
(false-if-exception (search-input-file inputs "/bin/gccgo"))
(apply (assoc-ref %standard-phases 'check) args)))))))
(propagated-inputs
(list go-golang-org-x-sys
go-golang-org-x-net