mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05: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 @@ (define-public go-github.com-smartystreets-assertions
|
|||
(base32 "0flf3fb6fsw3bk1viva0fzrzw87djaj1mqvrx2gzg1ssn7xzfrzr"))))
|
||||
(build-system go-build-system)
|
||||
(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
|
||||
(list go-github.com-smartystreets-gunit))
|
||||
(synopsis "Assertions for testing with Go")
|
||||
|
|
Loading…
Reference in a new issue