mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 01:26:43 +01:00
gnu: go-github-com-stretchr-objx: Skip tests with gccgo.
* gnu/packages/golang.scm (go-github-com-stretchr-objx)[arguments]: Don't run the test suite when building with gccgo.
This commit is contained in:
parent
23e03dd087
commit
1d49fd4fab
1 changed files with 10 additions and 1 deletions
|
@ -3026,7 +3026,16 @@ (define-public go-github-com-stretchr-objx
|
|||
(delete-file-recursively "vendor")))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:import-path "github.com/stretchr/objx"))
|
||||
(list
|
||||
#:import-path "github.com/stretchr/objx"
|
||||
#: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-davecgh-go-spew
|
||||
go-github-com-pmezard-go-difflib))
|
||||
|
|
Loading…
Reference in a new issue