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
Copy file name to clipboardExpand all lines: Makefile
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -827,6 +827,7 @@ test-all: test-azure-ipam test-azure-ip-masq-merger test-main ## run all unit te
827
827
828
828
test-main:
829
829
go test -mod=readonly -buildvcs=false -tags "unit" --skip 'TestE2E*' -race -covermode atomic -coverprofile=coverage-main.out $(COVER_PKG)/...
830
+
go tool cover -func=coverage-main.out
830
831
831
832
test-integration: ## run all integration tests.
832
833
AZURE_IPAM_VERSION=$(AZURE_IPAM_VERSION)\
@@ -857,10 +858,10 @@ test-extended-cyclonus: ## run the cyclonus test for npm.
857
858
cd ..
858
859
859
860
test-azure-ipam: ## run the unit test for azure-ipam
860
-
cd$(AZURE_IPAM_DIR)&& go test -race -covermode atomic -coverprofile=../coverage-azure-ipam.out
861
+
cd$(AZURE_IPAM_DIR)&& go test -race -covermode atomic -coverprofile=../coverage-azure-ipam.out&& go tool cover -func=../coverage-azure-ipam.out
861
862
862
863
test-azure-ip-masq-merger: ## run the unit test for azure-ip-masq-merger
863
-
cd$(AZURE_IP_MASQ_MERGER_DIR)&& go test -race -covermode atomic -coverprofile=../coverage-azure-ip-masq-merger.out
864
+
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
0 commit comments