diff options
Diffstat (limited to 'src/internal/godebug/godebug_test.go')
| -rw-r--r-- | src/internal/godebug/godebug_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/godebug/godebug_test.go b/src/internal/godebug/godebug_test.go index fbabc657fe..60c35a9619 100644 --- a/src/internal/godebug/godebug_test.go +++ b/src/internal/godebug/godebug_test.go @@ -101,8 +101,8 @@ func TestPanicNilRace(t *testing.T) { } func TestCmdBisect(t *testing.T) { - testenv.MustHaveGoBuild(t) - out, err := exec.Command("go", "run", "cmd/vendor/golang.org/x/tools/cmd/bisect", "GODEBUG=buggy=1#PATTERN", os.Args[0], "-test.run=^TestBisectTestCase$").CombinedOutput() + testenv.MustHaveGoRun(t) + out, err := exec.Command(testenv.GoToolPath(t), "run", "cmd/vendor/golang.org/x/tools/cmd/bisect", "GODEBUG=buggy=1#PATTERN", os.Args[0], "-test.run=^TestBisectTestCase$").CombinedOutput() if err != nil { t.Fatalf("exec bisect: %v\n%s", err, out) } |
