gnu: go-gopkg-in-check-v1: Disable tests.

* gnu/packages/golang-check.scm (go-gopkg-in-check-v1)
[arguments]<tests?>: Disable them.
<phases>: Remove custom 'check as redundant.

Change-Id: I9714e7ea019923f50ecb61097f90101326e5c4c8
This commit is contained in:
Sharlatan Hellseher 2024-12-03 19:43:43 +00:00
parent 3b934eb4b4
commit 7cb4fdecbb
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1277,6 +1277,8 @@ (define-public go-golang-org-x-lint
reformat the source code, it only prints out style mistakes.")
(license license:bsd-3))))
;; XXX: Unmaintained since 2020, see
;; <https://github.com/go-check/check/issues/111>.
(define-public go-gopkg-in-check-v1
(package
(name "go-gopkg-in-check-v1")
@ -1294,15 +1296,9 @@ (define-public go-gopkg-in-check-v1
(build-system go-build-system)
(arguments
(list
#:import-path "gopkg.in/check.v1"
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs #:allow-other-keys #:rest args)
(unless
;; The tests fail when run with gccgo.
(false-if-exception (search-input-file inputs "/bin/gccgo"))
(apply (assoc-ref %standard-phases 'check) args)))))))
;; Most tests failed.
#:tests? #f
#:import-path "gopkg.in/check.v1"))
(propagated-inputs
(list go-github-com-kr-pretty))
(home-page "https://gopkg.in/check.v1")