mirror of
https://github.com/golang/go
synced 2024-11-18 13:34:41 -07:00
cmd/godoc: exclude TestTypeAnalysis on Plan 9 for now
Attempt to make build work on Plan 9. For golang/go#11811. Change-Id: I37a5eaef441262342994a8f77c86aa5e120deea7 Reviewed-on: https://go-review.googlesource.com/13033 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
50fdc6b946
commit
32dcbb4ccc
@ -303,6 +303,10 @@ func testWeb(t *testing.T, withIndex bool) {
|
||||
|
||||
// Basic integration test for godoc -analysis=type (via HTTP interface).
|
||||
func TestTypeAnalysis(t *testing.T) {
|
||||
if runtime.GOOS == "plan9" {
|
||||
t.Skip("skipping test on plan9 (issue #11974)") // see comment re: Plan 9 below
|
||||
}
|
||||
|
||||
// Write a fake GOROOT/GOPATH.
|
||||
tmpdir, err := ioutil.TempDir("", "godoc-analysis")
|
||||
if err != nil {
|
||||
@ -360,7 +364,7 @@ func main() { print(lib.V) }
|
||||
// Wait for type analysis to complete.
|
||||
reader := bufio.NewReader(stderr)
|
||||
for {
|
||||
s, err := reader.ReadString('\n')
|
||||
s, err := reader.ReadString('\n') // on Plan 9 this fails
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user