~ruther/guix-local

936c9013e7ed32eb167fb750fc2a23fe0b39c23d — Sharlatan Hellseher 1 year, 5 months ago 1a6b258
gnu: go-gopkg-in-check-v1: Disable tests.

* gnu/packages/golang-check.scm (go-gopkg-in-check-v1)
[arguments]<tests?>: Disable them.
<phases>: Remove custom 'check as redundant.

Change-Id: I9714e7ea019923f50ecb61097f90101326e5c4c8
1 files changed, 5 insertions(+), 9 deletions(-)

M gnu/packages/golang-check.scm
M gnu/packages/golang-check.scm => gnu/packages/golang-check.scm +5 -9
@@ 1277,6 1277,8 @@ real database connection.")
reformat the source code, it only prints out style mistakes.")
      (license license:bsd-3))))

;; XXX: Unmaintained since 2020, see
;; <https://github.com/go-check/check/issues/111>.
(define-public go-gopkg-in-check-v1
  (package
    (name "go-gopkg-in-check-v1")


@@ 1294,15 1296,9 @@ reformat the source code, it only prints out style mistakes.")
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "gopkg.in/check.v1"
      #: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)))))))
      ;; Most tests failed.
      #:tests? #f
      #:import-path "gopkg.in/check.v1"))
    (propagated-inputs
     (list go-github-com-kr-pretty))
    (home-page "https://gopkg.in/check.v1")