mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 14:01:29 -05:00
gnu: go-gopkg-in-check-v1: Skip tests with gccgo.
* gnu/packages/golang.scm (go-gopkg-in-check-v1)[arguments]: Don't run the test suite when building with gccgo.
This commit is contained in:
parent
e77383e16f
commit
22487dfc22
1 changed files with 10 additions and 1 deletions
|
@ -4051,7 +4051,16 @@ (define-public go-gopkg-in-check-v1
|
|||
"1jwxndf8rsyx0fgrp47d99rp55yzssmryb92jfj3yf7zd8rjjljn"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:import-path "gopkg.in/check.v1"))
|
||||
(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)))))))
|
||||
(propagated-inputs
|
||||
(list go-github-com-kr-pretty))
|
||||
(home-page "https://gopkg.in/check.v1")
|
||||
|
|
Loading…
Reference in a new issue