Skip to content

Commit

Permalink
Remove verbose flag from make test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelMue committed Feb 12, 2021
1 parent cb9a06b commit 24df2f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,15 @@ help: ## Display this help

.PHONY: test
test: ## Run tests.
source ./scripts/fetch_ext_bins.sh; fetch_tools; setup_envs; go test ./... $(TEST_ARGS)

.PHONY: test-verbose
test-verbose: ## Run tests with verbose settings.
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.
source ./scripts/fetch_ext_bins.sh; fetch_tools; setup_envs; go test -coverprofile=out/coverage.out ./... $(TEST_ARGS)
go tool cover -func=out/coverage.out -o out/coverage.txt
go tool cover -html=out/coverage.out -o out/coverage.html

Expand Down
4 changes: 2 additions & 2 deletions scripts/ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ cd "${REPO_ROOT}" || exit 1
source "${REPO_ROOT}/hack/ensure-go.sh"

echo "*** Testing Cluster API ***"
make test
make test-verbose

echo -e "\n*** Testing Cluster API Provider Docker ***\n"
# Docker provider
cd test/infrastructure/docker
make test
make test-verbose

0 comments on commit 24df2f6

Please sign in to comment.