You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go test -mod=readonly -buildvcs=false -tags "unit" --skip 'TestE2E*' -race -covermode atomic -coverprofile=coverage-main.out $(COVER_PKG)/...
906
-
go tool cover -func=coverage-main.out
909
+
go tool -modfile=$(TOOLS_GO_MOD)cover -func=coverage-main.out
907
910
908
911
test-integration: ## run all integration tests.
909
912
AZURE_IPAM_VERSION=$(AZURE_IPAM_VERSION)\
@@ -934,13 +937,13 @@ test-extended-cyclonus: ## run the cyclonus test for npm.
934
937
cd ..
935
938
936
939
test-azure-ipam: ## run the unit test for azure-ipam
937
-
cd$(AZURE_IPAM_DIR)&& go test -race -covermode atomic -coverprofile=../coverage-azure-ipam.out && go tool cover -func=../coverage-azure-ipam.out
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
938
941
939
942
test-azure-ip-masq-merger: ## run the unit test for azure-ip-masq-merger
940
-
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
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
941
944
942
945
test-azure-iptables-monitor: ## run the unit test for azure-iptables-monitor
943
-
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
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
0 commit comments