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

cmd/go: go test -buildmode=plugin #18814

Open
crawshaw opened this issue Jan 27, 2017 · 0 comments
Open

cmd/go: go test -buildmode=plugin #18814

crawshaw opened this issue Jan 27, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@crawshaw
Copy link
Contributor

@crawshaw crawshaw commented Jan 27, 2017

Over on #18729 I am finding bugs by taking existing package unit tests and converting them into plugins that shell unit test can then call.

This is a bit messy to do outside of the go tool, as it requires messing with the definition of a package (including export_test.go, exporting the test functions, etc). It would be relatively straightforward to do inside the go tool, and we already have the flags we would need to trigger it.

Then we could have a builder that runs all the tests under plugins, which would exercise the multi-module code paths in the runtime package used by -buildmode=shared and -buildmode=plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.