[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/14: gnu: go-github-com-sirupsen-logrus: Skip tests with gccgo.
From: |
guix-commits |
Subject: |
12/14: gnu: go-github-com-sirupsen-logrus: Skip tests with gccgo. |
Date: |
Thu, 25 Aug 2022 06:07:44 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit c15692b938e04ad253d9bbfe127e8fd3deb85b6f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Aug 24 22:49:25 2022 +0300
gnu: go-github-com-sirupsen-logrus: Skip tests with gccgo.
* gnu/packages/golang.scm (go-github-com-sirupsen-logrus)[arguments]:
Don't run the test suite when building with gccgo.
---
gnu/packages/golang.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 45f1150fb7..f31fb4105d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3812,12 +3812,21 @@ application's http.Handlers.")
(base32
"12i402dxq5js4npnncg043vx874h6nk4ffn4gswcccxrp6h10ivz"))))
(build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/sirupsen/logrus"
+ #: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)))))))
(propagated-inputs
(list go-github-com-davecgh-go-spew go-github-com-pmezard-go-difflib
go-github-com-stretchr-testify go-golang-org-x-crypto
go-golang-org-x-sys))
- (arguments
- '(#:import-path "github.com/sirupsen/logrus"))
(home-page "https://github.com/sirupsen/logrus")
(synopsis "Structured, pluggable logging for Go")
(description "Logrus is a structured logger for Go, completely API
- branch master updated (b0c9f03248 -> 932edeb3a0), guix-commits, 2022/08/25
- 09/14: gnu: go-github-com-stretchr-objx: Update to 0.4.0., guix-commits, 2022/08/25
- 14/14: gnu: go-github-com-valyala-fasthttp: Skip tests with gccgo., guix-commits, 2022/08/25
- 13/14: gnu: go-github-com-valyala-fasthttp: Update to 1.39.0., guix-commits, 2022/08/25
- 06/14: gnu: go-github.com-smartystreets-assertions: Update to 1.13.0., guix-commits, 2022/08/25
- 02/14: gnu: go-github.com-jtolds-gls: Skip tests with gccgo., guix-commits, 2022/08/25
- 03/14: gnu: python-natsort: Honor the #:tests? flag., guix-commits, 2022/08/25
- 12/14: gnu: go-github-com-sirupsen-logrus: Skip tests with gccgo.,
guix-commits <=
- 04/14: gnu: python-natsort: Reflow description., guix-commits, 2022/08/25
- 01/14: gnu: go-github-com-pkg-errors: Skip tests with gccgo., guix-commits, 2022/08/25
- 08/14: gnu: go-gopkg-in-check-v1: Skip tests with gccgo., guix-commits, 2022/08/25
- 05/14: gnu: python-natsort: Fix the test suite on slower machines., guix-commits, 2022/08/25
- 11/14: gnu: go-github-com-sirupsen-logrus: Update to 1.9.0., guix-commits, 2022/08/25
- 10/14: gnu: go-github-com-stretchr-objx: Skip tests with gccgo., guix-commits, 2022/08/25
- 07/14: gnu: go-github.com-smartystreets-assertions: Skip tests with gccgo., guix-commits, 2022/08/25