[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: go-github-com-prometheus-common-expfmt: Fix tests for go-1.1
From: |
Pierre Neidhardt |
Subject: |
03/07: gnu: go-github-com-prometheus-common-expfmt: Fix tests for go-1.11. |
Date: |
Mon, 12 Nov 2018 04:32:46 -0500 (EST) |
ambrevar pushed a commit to branch master
in repository guix.
commit 46a37b5966298e26d91d2a660c3f2c84f111f826
Author: Pierre Neidhardt <address@hidden>
Date: Tue Nov 6 18:09:16 2018 +0100
gnu: go-github-com-prometheus-common-expfmt: Fix tests for go-1.11.
* gnu/packages/syncthing.scm (go-github-com-prometheus-common-expfmt): Fix
tests for go-1.11.
---
gnu/packages/syncthing.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 5d681b8..46211d2 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -1097,7 +1097,14 @@ message streaming.")
(string-append (assoc-ref outputs "out")
"/src/github.com/prometheus/common/expfmt/testdata/")
".*\\.gz$"))
- #t)))))
+ #t))
+ (replace 'check
+ ;; Tests don't pass "vet" on go-1.11. See
+ ;; https://github.com/syncthing/syncthing/issues/5311.
+ (lambda* (#:key import-path #:allow-other-keys)
+ (invoke "go" "test"
+ "-vet=off"
+ import-path))))))
(propagated-inputs
`(("go-github-com-golang-protobuf-proto"
,go-github-com-golang-protobuf-proto)
- branch master updated (6c84390 -> 5c47584), Pierre Neidhardt, 2018/11/12
- 01/07: gnu: go: Update default to 1.11., Pierre Neidhardt, 2018/11/12
- 05/07: gnu: go-gopkg.in-asn1-ber.v1: Fix tests for go-1.11., Pierre Neidhardt, 2018/11/12
- 02/07: build-system/go: Plan removal of the pkg folder for go-1.11 onward., Pierre Neidhardt, 2018/11/12
- 03/07: gnu: go-github-com-prometheus-common-expfmt: Fix tests for go-1.11.,
Pierre Neidhardt <=
- 06/07: gnu: go-github-com-wtolson-go-taglib: Fix tests and build for go-1.11., Pierre Neidhardt, 2018/11/12
- 07/07: gnu: go-github-com-aarzilli-golua: Fix for go-1.11., Pierre Neidhardt, 2018/11/12
- 04/07: gnu: go-github-com-audriusbutkevicius-cli: Fix tests for go-1.11., Pierre Neidhardt, 2018/11/12