You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ gotip test.
# z.test/var/folders/_m/h25_32y958gbgk67m97141400000gq/T/go-build396096674/b001/_testmain.go:29:21: undefined: testing.InternalFuzzTarget/var/folders/_m/h25_32y958gbgk67m97141400000gq/T/go-build396096674/b001/_testmain.go:45:24: too many arguments in call to testing.MainStartFAIL z [build failed]FAIL
Thanks @seankhliao, that was it. This is a new user account on an existing machine, and I did not intend for GOROOT to be set; but after running unset GOROOT, I was able to run tests with gotip properly.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I wrote a minimal test file:
and a minimal go.mod:
Running
go test
fails:What did you expect to see?
What did you see instead?
I also ran with -x in case that is helpful:
gotip test -x output
The text was updated successfully, but these errors were encountered: