Skip to content

Commit dff5234

Browse files
authored
Merge pull request #336 from bowei/pr-fix-makefile
Fix `make conformance` to select only the requested tests
2 parents dcc96c8 + c389200 commit dff5234

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
@@ -54,18 +54,18 @@ crd-e2e: ## Run the CRD e2e tests.
5454
.PHONY: conformance
5555
conformance: ## Run the conformance tests.
5656
go test ${GO_TEST_FLAGS} -v ./conformance \
57-
-run TestConformance -args ${CONFORMANCE_FLAGS}
57+
-run '^TestConformance$$' -args ${CONFORMANCE_FLAGS}
5858

5959
.PHONY: conformance-profiles
6060
conformance-profiles: ## Run the conformance profiles.
6161
go test ${GO_TEST_FLAGS} -v ./conformance \
62-
-run TestConformanceProfiles -args ${CONFORMANCE_FLAGS}
62+
-run '^TestConformanceProfiles$$' -args ${CONFORMANCE_FLAGS}
6363

6464
.PHONY: conformance-profiles-default
6565
conformance-profiles-default: ## Run the default conformance profile.
6666
go test ${GO_TEST_FLAGS} -v ./conformance \
67-
-run TestConformanceProfiles -args \
68-
--conformance-profiles=AdminNetworkPolicy,BaselineAdminNetworkPolicy
67+
-run '^TestConformanceProfiles$$' -args \
68+
--conformance-profiles=ClusterNetworkPolicy
6969

7070
##@ Deployment
7171
install: generate ## Install standard CRDs into the K8s cluster specified in ~/.kube/config.

0 commit comments

Comments
 (0)