Skip to content

Commit 8fda516

Browse files
committed
chore: clean up go tool cover
1 parent 7c7aac0 commit 8fda516

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
@@ -907,7 +907,7 @@ test-all: test-azure-ipam test-azure-ip-masq-merger test-azure-iptables-monitor
907907

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

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

940940
test-azure-ipam: ## run the unit test for azure-ipam
941-
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
941+
cd $(AZURE_IPAM_DIR) && go test -race -covermode atomic -coverprofile=../coverage-azure-ipam.out && go tool cover -func=../coverage-azure-ipam.out
942942

943943
test-azure-ip-masq-merger: ## run the unit test for azure-ip-masq-merger
944-
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
944+
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
945945

946946
test-azure-iptables-monitor: ## run the unit test for azure-iptables-monitor
947-
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
947+
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
948948

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

0 commit comments

Comments
 (0)