From e7cbbbe9bb878b6ca4ce04fde645df1c8f1845bd Mon Sep 17 00:00:00 2001 From: Daniel Martí Date: Mon, 12 Feb 2018 16:34:48 +0000 Subject: cmd/vendor/github.com/google/pprof: refresh from upstream MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updating to commit 0e0e5b7254e076a62326ab7305ba49e8515f0c91 from github.com/google/pprof Recent modifications to the vendored pprof, such as skipping TestWebInterface to avoid starting a web browser, have all been fixed upstream. Change-Id: I72e11108c438e1573bf2f9216e76d157378e8d45 Reviewed-on: https://go-review.googlesource.com/93375 Run-TryBot: Daniel Martí TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- src/cmd/vendor/github.com/google/pprof/test.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/cmd/vendor/github.com/google/pprof/test.sh') diff --git a/src/cmd/vendor/github.com/google/pprof/test.sh b/src/cmd/vendor/github.com/google/pprof/test.sh index 81b9089131..e9aff2b409 100755 --- a/src/cmd/vendor/github.com/google/pprof/test.sh +++ b/src/cmd/vendor/github.com/google/pprof/test.sh @@ -1,13 +1,19 @@ #!/usr/bin/env bash set -e +set -x MODE=atomic echo "mode: $MODE" > coverage.txt -PKG=$(go list ./... | grep -v /vendor/) +# All packages. +PKG=$(go list ./...) staticcheck $PKG unused $PKG + +# Packages that have any tests. +PKG=$(go list -f '{{if .TestGoFiles}} {{.ImportPath}} {{end}}' ./...) + go test -v $PKG for d in $PKG; do @@ -17,3 +23,4 @@ for d in $PKG; do rm profile.out fi done + -- cgit v1.3-5-g9baa