Skip to content

Commit 97de9ec

Browse files
author
Bryan C. Mills
committed
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>
1 parent 2cc1836 commit 97de9ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/fiximports/main_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,9 @@ import (
245245

246246
// TestDryRun tests that the -n flag suppresses calls to writeFile.
247247
func TestDryRun(t *testing.T) {
248+
if os.Getenv("GO_BUILDER_NAME") == "plan9-arm" {
249+
t.Skipf("skipping test that times out on plan9-arm; see https://go.dev/issue/50775")
250+
}
248251
testenv.NeedsTool(t, "go")
249252

250253
*dryrun = true

0 commit comments

Comments
 (0)