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.
master
Pierre Neidhardt 2018-11-06 18:09:16 +01:00
parent 0fd115d536
commit 46a37b5966
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 8 additions and 1 deletions

View File

@ -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)