]> Cypherpunks repositories - gostls13.git/commit
cmd/go: only run TestGoGetHTTPS404 where it works
authorIan Lance Taylor <iant@golang.org>
Thu, 9 Jun 2016 00:45:55 +0000 (17:45 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 9 Jun 2016 03:48:34 +0000 (03:48 +0000)
commit763883632e4d7fea145b6f3a7ee501b5ad9096f2
tree6e84b883b49a0685f09ffa70790ad2f6a75b1eb2
parentf3689d138256c36dbe0004459f79d570f5345f74
cmd/go: only run TestGoGetHTTPS404 where it works

The test TestGoGetHTTPS404 downloads a package that does not build on
every OS, so change it to only run where the package builds. It's not
great for the test to depend on an external package, but this is an
improvement on the current situation.

Fixes #15644.

Change-Id: I1679cee5ab1e61a5b26f4ad39dc8a397fbc0da69
Reviewed-on: https://go-review.googlesource.com/23920
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/cmd/go/go_test.go