diff options
Diffstat (limited to 'libgo/go/runtime/runtime-lldb_test.go')
-rw-r--r-- | libgo/go/runtime/runtime-lldb_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/runtime/runtime-lldb_test.go b/libgo/go/runtime/runtime-lldb_test.go index 4c379b9cdc2..98bc9066662 100644 --- a/libgo/go/runtime/runtime-lldb_test.go +++ b/libgo/go/runtime/runtime-lldb_test.go @@ -158,7 +158,7 @@ func TestLldbPython(t *testing.T) { t.Fatalf("failed to create file: %v", err) } - cmd := exec.Command("go", "build", "-gcflags", "-N -l", "-o", "a.exe") + cmd := exec.Command(testenv.GoToolPath(t), "build", "-gcflags", "-N -l", "-o", "a.exe") cmd.Dir = dir out, err := cmd.CombinedOutput() if err != nil { @@ -198,7 +198,7 @@ func TestDwarfAranges(t *testing.T) { t.Fatalf("failed to create file: %v", err) } - cmd := exec.Command("go", "build", "-o", "a.exe") + cmd := exec.Command(testenv.GoToolPath(t), "build", "-o", "a.exe") cmd.Dir = dir out, err := cmd.CombinedOutput() if err != nil { |