test(obs): use Go toolchain from PATH
- commit
- a2009cab7cc09df5888b236c2311dd145dacf41c
- author
- brice · · 2026-07-13 05:06 UTC
- parent
- b87c753
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
2 files · +3 -3
M cmd/vev-perf-harness/launcher_test.go +1 -1
| @@ -126,7 +126,7 @@ func TestHarnessCanonicalLocalSmokeRealRoles(t *testing.T) { | |||
| 126 | 126 | t.Fatal(err) | |
| 127 | 127 | } | |
| 128 | 128 | bin := filepath.Join(t.TempDir(), "vev") | |
| 129 | - | build := exec.Command("/usr/local/go/bin/go", "build", "-o", bin, "./") | |
| 129 | + | build := exec.Command("go", "build", "-o", bin, "./") | |
| 130 | 130 | build.Dir = root | |
| 131 | 131 | if output, err := build.CombinedOutput(); err != nil { | |
| 132 | 132 | t.Fatalf("build public CLI: %v\n%s", err, output) | |
| @@ -126,7 +126,7 @@ func TestHarnessCanonicalLocalSmokeRealRoles(t *testing.T) { | |||||
| 126 | t.Fatal(err) | 126 | t.Fatal(err) | ||
| 127 | } | 127 | } | ||
| 128 | bin := filepath.Join(t.TempDir(), "vev") | 128 | bin := filepath.Join(t.TempDir(), "vev") | ||
| 129 | - | build := exec.Command("/usr/local/go/bin/go", "build", "-o", bin, "./") | 129 | + | build := exec.Command("go", "build", "-o", bin, "./") |
| 130 | build.Dir = root | 130 | build.Dir = root | ||
| 131 | if output, err := build.CombinedOutput(); err != nil { | 131 | if output, err := build.CombinedOutput(); err != nil { | ||
| 132 | t.Fatalf("build public CLI: %v\n%s", err, output) | 132 | t.Fatalf("build public CLI: %v\n%s", err, output) | ||
M cmd/vev-perf-harness/runner_test.go +2 -2
| @@ -22,7 +22,7 @@ func TestHarnessCanonicalLocalRolesAreIsolatedAcrossRepetitions(t *testing.T) { | |||
| 22 | 22 | t.Fatal(err) | |
| 23 | 23 | } | |
| 24 | 24 | bin := filepath.Join(t.TempDir(), "vev") | |
| 25 | - | build := exec.Command("/usr/local/go/bin/go", "build", "-o", bin, "./") | |
| 25 | + | build := exec.Command("go", "build", "-o", bin, "./") | |
| 26 | 26 | build.Dir = root | |
| 27 | 27 | if output, err := build.CombinedOutput(); err != nil { | |
| 28 | 28 | t.Fatalf("build public CLI: %v\n%s", err, output) | |
| @@ -120,7 +120,7 @@ func TestHarnessResolvesCanonicalRelativePathsBeforeRoleCWDChanges(t *testing.T) | |||
| 120 | 120 | } | |
| 121 | 121 | t.Cleanup(func() { _ = os.RemoveAll(workspace) }) | |
| 122 | 122 | bin := filepath.Join(workspace, "vev") | |
| 123 | - | build := exec.Command("/usr/local/go/bin/go", "build", "-o", bin, "./") | |
| 123 | + | build := exec.Command("go", "build", "-o", bin, "./") | |
| 124 | 124 | build.Dir = root | |
| 125 | 125 | if output, err := build.CombinedOutput(); err != nil { | |
| 126 | 126 | t.Fatalf("build public CLI: %v\n%s", err, output) | |
| @@ -22,7 +22,7 @@ func TestHarnessCanonicalLocalRolesAreIsolatedAcrossRepetitions(t *testing.T) { | |||||
| 22 | t.Fatal(err) | 22 | t.Fatal(err) | ||
| 23 | } | 23 | } | ||
| 24 | bin := filepath.Join(t.TempDir(), "vev") | 24 | bin := filepath.Join(t.TempDir(), "vev") | ||
| 25 | - | build := exec.Command("/usr/local/go/bin/go", "build", "-o", bin, "./") | 25 | + | build := exec.Command("go", "build", "-o", bin, "./") |
| 26 | build.Dir = root | 26 | build.Dir = root | ||
| 27 | if output, err := build.CombinedOutput(); err != nil { | 27 | if output, err := build.CombinedOutput(); err != nil { | ||
| 28 | t.Fatalf("build public CLI: %v\n%s", err, output) | 28 | t.Fatalf("build public CLI: %v\n%s", err, output) | ||
| @@ -120,7 +120,7 @@ func TestHarnessResolvesCanonicalRelativePathsBeforeRoleCWDChanges(t *testing.T) | |||||
| 120 | } | 120 | } | ||
| 121 | t.Cleanup(func() { _ = os.RemoveAll(workspace) }) | 121 | t.Cleanup(func() { _ = os.RemoveAll(workspace) }) | ||
| 122 | bin := filepath.Join(workspace, "vev") | 122 | bin := filepath.Join(workspace, "vev") | ||
| 123 | - | build := exec.Command("/usr/local/go/bin/go", "build", "-o", bin, "./") | 123 | + | build := exec.Command("go", "build", "-o", bin, "./") |
| 124 | build.Dir = root | 124 | build.Dir = root | ||
| 125 | if output, err := build.CombinedOutput(); err != nil { | 125 | if output, err := build.CombinedOutput(); err != nil { | ||
| 126 | t.Fatalf("build public CLI: %v\n%s", err, output) | 126 | t.Fatalf("build public CLI: %v\n%s", err, output) | ||