-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Remove verbose flag from make test #4187
🌱 Remove verbose flag from make test #4187
Conversation
Hi @MarcelMue. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
source ./scripts/fetch_ext_bins.sh; fetch_tools; setup_envs; go test -v ./... $(TEST_ARGS) | ||
|
||
.PHONY: test-cover | ||
test-cover: ## Run tests with code coverage and code generate reports | ||
source ./scripts/fetch_ext_bins.sh; fetch_tools; setup_envs; go test -v -coverprofile=out/coverage.out ./... $(TEST_ARGS) | ||
test-cover: ## Run tests with code coverage and code generate reports. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comments are all inconsistent in this file. Some are sentences, some have .
some have neither. I didn't make it consistent here because I didn't want to expand this PR too much.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be a nice follow up/good-first issue...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
/ok-to-test |
/retest |
19f6929
to
287d80a
Compare
4e92ada
to
34b15e0
Compare
Makefile
Outdated
test-cover: ## Run tests with code coverage and code generate reports | ||
source ./scripts/fetch_ext_bins.sh; fetch_tools; setup_envs; go test -v -coverprofile=out/coverage.out ./... $(TEST_ARGS) | ||
test-cover: ## Run tests with code coverage and code generate reports. | ||
source ./scripts/fetch_ext_bins.sh; fetch_tools; setup_envs; go test -coverprofile=out/coverage.out ./... $(TEST_ARGS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source ./scripts/fetch_ext_bins.sh; fetch_tools; setup_envs; go test -coverprofile=out/coverage.out ./... $(TEST_ARGS) | |
TEST_ARGS="$(TEST_ARGS) -coverprofile=out/coverage.out" $(MAKE) test |
Something like that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and works 👍
82b0d7f
to
be9e1a4
Compare
PTAL - I think this now covers most of the concerns :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last nit, then lgtm for me
9d37ba7
to
56d2fa1
Compare
/retest |
1 similar comment
/retest |
Okay - finally all green 🚀 |
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/milestone v0.4.0
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
make test
now has very concise output when run in local development, making it easier to spot actual failures. There is an additional target calledmake test-verbose
which is used in CI to continue to have the full verbose output.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #4182