diff --git a/cmd/getgo/download.go b/cmd/getgo/download.go index a68f4744..8fdb2a79 100644 --- a/cmd/getgo/download.go +++ b/cmd/getgo/download.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build !plan9 + package main import ( diff --git a/cmd/getgo/download_test.go b/cmd/getgo/download_test.go index 1a47823c..5a5cc291 100644 --- a/cmd/getgo/download_test.go +++ b/cmd/getgo/download_test.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build !plan9 + package main import ( diff --git a/cmd/getgo/main.go b/cmd/getgo/main.go index 8d9fbd41..a92ae481 100644 --- a/cmd/getgo/main.go +++ b/cmd/getgo/main.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build !plan9 + // The getgo command installs Go to the user's system. package main diff --git a/cmd/getgo/main_test.go b/cmd/getgo/main_test.go index 932a7397..e430895f 100644 --- a/cmd/getgo/main_test.go +++ b/cmd/getgo/main_test.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build !plan9 + package main import ( diff --git a/cmd/getgo/path.go b/cmd/getgo/path.go index 551ac42e..52e04627 100644 --- a/cmd/getgo/path.go +++ b/cmd/getgo/path.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build !plan9 + package main import ( diff --git a/cmd/getgo/path_test.go b/cmd/getgo/path_test.go index 4cf66474..5355c6ea 100644 --- a/cmd/getgo/path_test.go +++ b/cmd/getgo/path_test.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build !plan9 + package main import ( diff --git a/cmd/getgo/steps.go b/cmd/getgo/steps.go index eac6517d..41c57d24 100644 --- a/cmd/getgo/steps.go +++ b/cmd/getgo/steps.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build !plan9 + package main import ( diff --git a/cmd/getgo/system.go b/cmd/getgo/system.go index 8b5b024d..07d6f857 100644 --- a/cmd/getgo/system.go +++ b/cmd/getgo/system.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build !plan9 + package main import ( diff --git a/cmd/godoc/godoc_test.go b/cmd/godoc/godoc_test.go index 8b0c24e5..fe87128d 100644 --- a/cmd/godoc/godoc_test.go +++ b/cmd/godoc/godoc_test.go @@ -205,6 +205,9 @@ func TestWebIndex(t *testing.T) { // Basic integration test for godoc HTTP interface. func testWeb(t *testing.T, withIndex bool) { + if runtime.GOOS == "plan9" { + t.Skip("skipping on plan9; files to start up quickly enough") + } bin, cleanup := buildGodoc(t) defer cleanup() addr := serverAddress(t)