[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/14: gnu: go-github.com-smartystreets-assertions: Skip tests with gccg
From: |
guix-commits |
Subject: |
07/14: gnu: go-github.com-smartystreets-assertions: 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 e77383e16fe4244a82b5e988e6edcfb52bf8965c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Aug 24 21:50:04 2022 +0300
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.
---
gnu/packages/check.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 2bb8128f34..26a49056a2 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -676,7 +676,16 @@ test) much simpler.")
(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")
- 06/14: gnu: go-github.com-smartystreets-assertions: Update to 1.13.0., (continued)
- 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, 2022/08/25
- 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 <=