guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

65/88: gnu: go-gopkg-in-check-v1: Disable tests.


From: guix-commits
Subject: 65/88: gnu: go-gopkg-in-check-v1: Disable tests.
Date: Fri, 6 Dec 2024 16:17:29 -0500 (EST)

sharlatan pushed a commit to branch go-team
in repository guix.

commit 7d4a75836a30aa31632f080926ca08011ccd94bb
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Dec 3 19:43:43 2024 +0000

    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
---
 gnu/packages/golang-check.scm | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 7e5abf9f09..55d43d5c86 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -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";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]