]> Cypherpunks repositories - gostls13.git/commitdiff
Revert "cmd/vet/all: remove pprof from the whitelist"
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 1 Mar 2017 13:29:17 +0000 (13:29 +0000)
committerJosh Bleecher Snyder <josharian@gmail.com>
Wed, 1 Mar 2017 13:29:39 +0000 (13:29 +0000)
This reverts commit 12b6c18139233abd7b1af1fc0a07279d56df3642.

Reason for revert: Broke vet builder. #19322 was not fully fixed.

Change-Id: Id85131d4d0b8915480d65e3532da62b769463d70
Reviewed-on: https://go-review.googlesource.com/37625
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/vet/all/main.go

index 87e5c51dfdf0c92adce0f8ba1ad7e626ead6f099..70111116597f89e780bb705b07c9af68b8fbad72 100644 (file)
@@ -191,6 +191,9 @@ var ignorePathPrefixes = [...]string{
        // TODO: If vet ever uses go/loader and starts working off source,
        // this problem will likely go away.
        "fmt/fmt_test.go",
+       // Ignore pprof for the moment to get the builders happy.
+       // TODO: Fix all the issues and reinstate.
+       "cmd/vendor/github.com/google/pprof",
 }
 
 func vetPlatforms(pp []platform) {