Skip to content

Commit 0576e75

Browse files
committed
chore: clean up go tool cover
1 parent 2d399ed commit 0576e75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ test-all: test-azure-ipam test-azure-ip-masq-merger test-azure-iptables-monitor
906906

907907
test-main:
908908
go test -mod=readonly -buildvcs=false -tags "unit" --skip 'TestE2E*' -race -covermode atomic -coverprofile=coverage-main.out $(COVER_PKG)/...
909-
go tool -modfile=$(TOOLS_GO_MOD) cover -func=coverage-main.out
909+
go tool cover -func=coverage-main.out
910910

911911
test-integration: ## run all integration tests.
912912
AZURE_IPAM_VERSION=$(AZURE_IPAM_VERSION) \
@@ -937,13 +937,13 @@ test-extended-cyclonus: ## run the cyclonus test for npm.
937937
cd ..
938938

939939
test-azure-ipam: ## run the unit test for azure-ipam
940-
cd $(AZURE_IPAM_DIR) && go test -race -covermode atomic -coverprofile=../coverage-azure-ipam.out && go tool cover -modfile=$(TOOLS_GO_MOD) -func=../coverage-azure-ipam.out
940+
cd $(AZURE_IPAM_DIR) && go test -race -covermode atomic -coverprofile=../coverage-azure-ipam.out && go tool cover -func=../coverage-azure-ipam.out
941941

942942
test-azure-ip-masq-merger: ## run the unit test for azure-ip-masq-merger
943-
cd $(AZURE_IP_MASQ_MERGER_DIR) && go test -race -covermode atomic -coverprofile=../coverage-azure-ip-masq-merger.out && go tool cover -modfile=$(TOOLS_GO_MOD) -func=../coverage-azure-ip-masq-merger.out
943+
cd $(AZURE_IP_MASQ_MERGER_DIR) && go test -race -covermode atomic -coverprofile=../coverage-azure-ip-masq-merger.out && go tool cover -func=../coverage-azure-ip-masq-merger.out
944944

945945
test-azure-iptables-monitor: ## run the unit test for azure-iptables-monitor
946-
cd $(AZURE_IPTABLES_MONITOR_DIR) && go test -race -covermode atomic -coverprofile=../coverage-azure-iptables-monitor.out && go tool cover -modfile=$(TOOLS_GO_MOD) -func=../coverage-azure-iptables-monitor.out
946+
cd $(AZURE_IPTABLES_MONITOR_DIR) && go test -race -covermode atomic -coverprofile=../coverage-azure-iptables-monitor.out && go tool cover -func=../coverage-azure-iptables-monitor.out
947947

948948
kind:
949949
kind create cluster --config ./test/kind/kind.yaml

0 commit comments

Comments
 (0)