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

modules: running tests in /misc #30911

Closed
randall77 opened this issue Mar 18, 2019 · 1 comment
Closed

modules: running tests in /misc #30911

randall77 opened this issue Mar 18, 2019 · 1 comment

Comments

@randall77
Copy link
Contributor

In go 1.12, I can cd to $GOROOT/src and run ../bin/go test ../misc/cgo/test.
I can't do that at tip, I get:

$ ../bin/go test ../misc/cgo/test
go: directory ../misc/cgo/test outside available modules

Is there a different way to run those tests individually?
Somehow all.bash solves this problem.

@bcmills

@randall77
Copy link
Contributor Author

It works the other way around, if you cd to $GOROOT/misc/cgo/test and run from there.
That fixes my immediate issue. I'll close this, but a wart to ponder...

@golang golang locked and limited conversation to collaborators Mar 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants