mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-08 03:59:40 +01:00
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.
This commit is contained in:
parent
4892c1af84
commit
e77383e16f
1 changed files with 10 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Add table
Reference in a new issue