1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 19:10:49 +02:00

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 1a6b25806f
commit 936c9013e7
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1277,6 +1277,8 @@ real database connection.")
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 @@ reformat the source code, it only prints out style mistakes.")
(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")