cmd/fiximports: skip TestDryRun on plan9-arm

For golang/go#50775.

Change-Id: I229263c840f406926b1f7c91de2400d4a18f3e16
Reviewed-on: https://go-review.googlesource.com/c/tools/+/380495
Trust: Bryan Mills <bcmills@google.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
This commit is contained in:
Bryan C. Mills 2022-01-24 10:24:05 -05:00 committed by Bryan Mills
parent 2cc1836031
commit 97de9ec466
1 changed files with 3 additions and 0 deletions

View File

@ -245,6 +245,9 @@ import (
// TestDryRun tests that the -n flag suppresses calls to writeFile.
func TestDryRun(t *testing.T) {
if os.Getenv("GO_BUILDER_NAME") == "plan9-arm" {
t.Skipf("skipping test that times out on plan9-arm; see https://go.dev/issue/50775")
}
testenv.NeedsTool(t, "go")
*dryrun = true