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

make ut build the test binary too slow #31880

Closed
tiancaiamao opened this issue Jan 21, 2022 · 1 comment · Fixed by #31882
Closed

make ut build the test binary too slow #31880

tiancaiamao opened this issue Jan 21, 2022 · 1 comment · Fixed by #31882
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@tiancaiamao
Copy link
Contributor

Enhancement

It use this pattern:

for _, pkg := range pkgs {
    cd pkg;
    go test -c -o pkg.test
}

The test binary is built one by one...
If we can

go test -c ./...

It will be much faster

@tiancaiamao tiancaiamao added the type/enhancement The issue or PR belongs to an enhancement. label Jan 21, 2022
@tiancaiamao tiancaiamao self-assigned this Jan 21, 2022
@tiancaiamao
Copy link
Contributor Author

A enhancement for #30822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant