Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rules_go; tested bazel Go version #95

Merged
merged 10 commits into from
Dec 24, 2023
Prev Previous commit
Next Next commit
findpkg: No GOPATH testcase: set tempdir GOPATH, else $HOME/go is use…
…d by default

Test passes incidentally on systems where $HOME/go exists and has the
right files.

Signed-off-by: Chris Koch <[email protected]>
hugelgupf committed Dec 24, 2023
commit 765b8419b8940d5de1cd2a0b59ca739ca744760f
2 changes: 1 addition & 1 deletion src/pkg/bb/findpkg/bb_test.go
Original file line number Diff line number Diff line change
@@ -524,7 +524,7 @@ func TestResolve(t *testing.T) {
}
}

noGopathModuleOffEnv := golang.Default(golang.WithGO111MODULE("off"), golang.WithGOPATH(""))
noGopathModuleOffEnv := golang.Default(golang.WithGO111MODULE("off"), golang.WithGOPATH(t.TempDir()))

newPkgTests := append(sharedTestCases, testCase{
// UROOT_SOURCE, file system paths, non-Gobusybox module.