mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 03:20:43 +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:
parent
1a6b25806f
commit
936c9013e7
1 changed files with 5 additions and 9 deletions
|
@ -1277,6 +1277,8 @@ real database connection.")
|
||||||
reformat the source code, it only prints out style mistakes.")
|
reformat the source code, it only prints out style mistakes.")
|
||||||
(license license:bsd-3))))
|
(license license:bsd-3))))
|
||||||
|
|
||||||
|
;; XXX: Unmaintained since 2020, see
|
||||||
|
;; <https://github.com/go-check/check/issues/111>.
|
||||||
(define-public go-gopkg-in-check-v1
|
(define-public go-gopkg-in-check-v1
|
||||||
(package
|
(package
|
||||||
(name "go-gopkg-in-check-v1")
|
(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)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:import-path "gopkg.in/check.v1"
|
;; Most tests failed.
|
||||||
#:phases
|
#:tests? #f
|
||||||
#~(modify-phases %standard-phases
|
#:import-path "gopkg.in/check.v1"))
|
||||||
(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)))))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list go-github-com-kr-pretty))
|
(list go-github-com-kr-pretty))
|
||||||
(home-page "https://gopkg.in/check.v1")
|
(home-page "https://gopkg.in/check.v1")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue