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.
This commit is contained in:
parent
0fd115d536
commit
46a37b5966
|
@ -1097,7 +1097,14 @@ message streaming.")
|
||||||
(string-append (assoc-ref outputs "out")
|
(string-append (assoc-ref outputs "out")
|
||||||
"/src/github.com/prometheus/common/expfmt/testdata/")
|
"/src/github.com/prometheus/common/expfmt/testdata/")
|
||||||
".*\\.gz$"))
|
".*\\.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
|
(propagated-inputs
|
||||||
`(("go-github-com-golang-protobuf-proto"
|
`(("go-github-com-golang-protobuf-proto"
|
||||||
,go-github-com-golang-protobuf-proto)
|
,go-github-com-golang-protobuf-proto)
|
||||||
|
|
Loading…
Reference in New Issue