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
parent
0fd115d536
commit
46a37b5966
|
@ -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)
|
||||
|
|
Reference in New Issue