gnu: go-github-com-google-go-cmp-cmp: Skip tests with gccgo.
* gnu/packages/golang.scm (go-github-com-google-go-cmp-cmp)[arguments]: Override check phase to skip it when building with gccgo. Change-Id: Ie2b5005648882c5a65ed484e5d203f1076dcb768
parent
3778f778c3
commit
6c02d516b5
|
@ -8324,7 +8324,15 @@ colorized or SGR defined output to the standard output.")
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:import-path "github.com/google/go-cmp/cmp"
|
'(#:import-path "github.com/google/go-cmp/cmp"
|
||||||
#:unpack-path "github.com/google/go-cmp"))
|
#:unpack-path "github.com/google/go-cmp"
|
||||||
|
#: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)))))))
|
||||||
(synopsis "Determine equality of values in Go")
|
(synopsis "Determine equality of values in Go")
|
||||||
(description
|
(description
|
||||||
"This package is intended to be a more powerful and safer
|
"This package is intended to be a more powerful and safer
|
||||||
|
|
Reference in New Issue