Pinning golang.org/x/tools dependency in preparation for Go 1.4 EOL.

pull/5869/head
Ross McDonald 2016-02-29 16:19:06 -06:00
parent 70fbc46282
commit e2dcdcf79b
2 changed files with 3 additions and 3 deletions

1
Godeps
View File

@ -18,4 +18,5 @@ github.com/paulbellamy/ratecounter 5a11f585a31379765c190c033b6ad39956584447
github.com/peterh/liner ad1edfd30321d8f006ccf05f1e0524adeb943060
github.com/rakyll/statik 274df120e9065bdd08eb1120e0375e3dc1ae8465
golang.org/x/crypto 1f22c0103821b9390939b6776727195525381532
golang.org/x/tools 8b178a93c1f5b5c8f4e36cd6bd64e0d5bf0ee180
gopkg.in/fatih/pool.v2 cba550ebf9bce999a02e963296d4bc7a486cb715

View File

@ -315,9 +315,6 @@ def upload_packages(packages, bucket_name=None, nightly=False):
return 0
def run_tests(race, parallel, timeout, no_vet):
print "Downloading vet tool..."
sys.stdout.flush()
run("go get golang.org/x/tools/cmd/vet")
print "Running tests:"
print "\tRace: ", race
if parallel is not None:
@ -333,6 +330,8 @@ def run_tests(race, parallel, timeout, no_vet):
print err
return False
if not no_vet:
print "Installing 'go vet' tool..."
run("go install golang.org/x/tools/cmd/vet")
p = subprocess.Popen(go_vet_command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = p.communicate()
if len(out) > 0 or len(err) > 0: