-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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 flag -skip should be cacheable #70692
Milestone
Comments
Yeah, I can't think of a reason to not cache it. |
does this need to be a proposal or just a change? |
This is a bug; it does not need a proposal. |
I'll send a CL for this. Thanks! |
Change https://go.dev/cl/646997 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Proposal Details
Running tests with the
-skip
flag should be able to use the test result cache.In the original design of the test result cache (#11193), the test flag
-run
is a cacheable flag. However, the subsequent proposal (#41583) that added the-skip
flag to go test but did not make it cacheable.Both
-skip
and-run
are flags used to match or filter the test cases. Since the-run
parameter is cacheable, the-skip
parameter should also be cacheable, too.The text was updated successfully, but these errors were encountered: