bumpy-spoon-55438
09/24/2022, 3:34 AMfast-nail-55400
09/24/2022, 3:54 AMPATHfast-nail-55400
09/24/2022, 3:54 AM$GOROOT/binPATHfast-nail-55400
09/24/2022, 4:00 AMgo$GOROOT/binPATHfast-nail-55400
09/24/2022, 4:04 AMfast-nail-55400
09/24/2022, 4:04 AMfast-nail-55400
09/24/2022, 4:04 AMbumpy-spoon-55438
09/24/2022, 4:06 AMbumpy-spoon-55438
09/24/2022, 4:06 AMbumpy-spoon-55438
09/24/2022, 4:07 AMbumpy-spoon-55438
09/24/2022, 4:07 AMos.Setenv("PATH", strings.Join([]string{"$GOROOT/bin", os.Getenv("PATH")}, ":"))fast-nail-55400
09/24/2022, 4:07 AMbumpy-spoon-55438
09/24/2022, 4:10 AM[test]
extra_env_vars = [
    "PATH=$GOROOT/bin:$PATH"
]fast-nail-55400
09/24/2022, 4:11 AMfast-nail-55400
09/24/2022, 4:11 AMfunc init() {}fast-nail-55400
09/24/2022, 4:12 AMfast-nail-55400
09/24/2022, 4:12 AMfunc init() {
  goroot := os.Getenv("GOROOT")
  if goroot != "" {
    path := os.Getenv("PATH")
    if path != "" {
      os.Setenv("PATH", fmt.Sprintf("%s/bin:%s", goroot, path)
    } else {
      os.Setenv("PATH", fmt.Sprintf("%s/bin", goroot)
    }
  }
}fast-nail-55400
09/24/2022, 4:14 AMstrings.Joinfilepath.Joinfmt.Sprintfbumpy-spoon-55438
09/24/2022, 4:16 AMfast-nail-55400
09/24/2022, 4:16 AMfast-nail-55400
09/24/2022, 4:17 AMGoSdkProcessGOROOTfast-nail-55400
09/24/2022, 4:18 AMGOROOT--test-extra-envfast-nail-55400
09/24/2022, 4:18 AM$GOROOT/binPATHbumpy-spoon-55438
09/24/2022, 4:19 AM[test]
extra_env_vars = [
    "GOROOT=/opt/homebrew/opt/go/libexec"
]fast-nail-55400
09/24/2022, 4:25 AMfast-nail-55400
09/24/2022, 4:26 AMfast-nail-55400
09/24/2022, 4:30 AMah running the test does not usenote to self: did some research andwhich sets theGoSdkProcessautomatically. I'll have to add that to the issue to set as well.GOROOT
go testGOROOTPATHbumpy-spoon-55438
09/24/2022, 4:34 AMfast-nail-55400
09/25/2022, 5:52 PMmain2.14.xfast-nail-55400
09/25/2022, 5:53 PM