Skip to content

Commit

Permalink
cmd/fiximports: skip TestDryRun on plan9-arm
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bryan C. Mills committed Jan 24, 2022
1 parent 2cc1836 commit 97de9ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/fiximports/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97de9ec

Please sign in to comment.