gnu: go-github.com-smartystreets-assertions: Skip tests with gccgo.
* gnu/packages/check.scm (go-github.com-smartystreets-assertions): Don't run the test suite when building with gccgo.master
parent
4892c1af84
commit
e77383e16f
|
@ -676,7 +676,16 @@ test) much simpler.")
|
||||||
(base32 "0flf3fb6fsw3bk1viva0fzrzw87djaj1mqvrx2gzg1ssn7xzfrzr"))))
|
(base32 "0flf3fb6fsw3bk1viva0fzrzw87djaj1mqvrx2gzg1ssn7xzfrzr"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:import-path "github.com/smartystreets/assertions"))
|
(list
|
||||||
|
#:import-path "github.com/smartystreets/assertions"
|
||||||
|
#: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)))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-github.com-smartystreets-gunit))
|
(list go-github.com-smartystreets-gunit))
|
||||||
(synopsis "Assertions for testing with Go")
|
(synopsis "Assertions for testing with Go")
|
||||||
|
|
Reference in New Issue