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
+20-9Lines changed: 20 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -19,23 +19,23 @@ PLATFORM?=ocp
19
19
all: e2e
20
20
21
21
.PHONY: e2e
22
-
e2e: e2e-platform e2e-node ## Run the e2e tests. This runs both platform and node compliance tests.
22
+
e2e: install-jq e2e-platform e2e-node ## Run the e2e tests. This runs both platform and node compliance tests.
23
23
24
24
.PHONY: e2e-platform
25
-
e2e-platform: ## Run only platform compliance tests
26
-
set -o pipefail; go test$(TEST_FLAGS). -run=^TestPlatformCompliance$$ -install-operator=$(INSTALL_OPERATOR) -bypass-remediations="$(BYPASS_REMEDIATIONS)" -test-type="platform"| tee .e2e-platform-test-results.out
25
+
e2e-platform: install-jq ## Run only platform compliance tests
26
+
set -o pipefail;PATH=$$PATH:/tmp/bin go test$(TEST_FLAGS). -run=^TestPlatformCompliance$$ -install-operator=$(INSTALL_OPERATOR) -bypass-remediations="$(BYPASS_REMEDIATIONS)" -test-type="platform"| tee .e2e-platform-test-results.out
27
27
28
28
.PHONY: e2e-node
29
-
e2e-node: ## Run only node compliance tests
30
-
set -o pipefail; go test$(TEST_FLAGS). -run=^TestNodeCompliance$$ -install-operator=$(INSTALL_OPERATOR) -bypass-remediations="$(BYPASS_REMEDIATIONS)" -test-type="node"| tee .e2e-node-test-results.out
29
+
e2e-node: install-jq ## Run only node compliance tests
30
+
set -o pipefail;PATH=$$PATH:/tmp/bin go test$(TEST_FLAGS). -run=^TestNodeCompliance$$ -install-operator=$(INSTALL_OPERATOR) -bypass-remediations="$(BYPASS_REMEDIATIONS)" -test-type="node"| tee .e2e-node-test-results.out
31
31
32
32
.PHONY: e2e-profile
33
-
e2e-profile: ## Run TestProfile test only
34
-
set -o pipefail; go test$(TEST_FLAGS). -run=^TestProfile$$ -profile="$(PROFILE)" -product="$(PRODUCT)" -install-operator=$(INSTALL_OPERATOR)| tee .e2e-profile-test-results.out
33
+
e2e-profile: install-jq ## Run TestProfile test only
34
+
set -o pipefail;PATH=$$PATH:/tmp/bin go test$(TEST_FLAGS). -run=^TestProfile$$ -profile="$(PROFILE)" -product="$(PRODUCT)" -install-operator=$(INSTALL_OPERATOR)| tee .e2e-profile-test-results.out
35
35
36
36
.PHONY: e2e-profile-remediations
37
-
e2e-profile-remediations: ## Run TestProfile test only
38
-
set -o pipefail; go test$(TEST_FLAGS). -run=^TestProfileRemediations$$ -profile="$(PROFILE)" -product="$(PRODUCT)" -install-operator=$(INSTALL_OPERATOR)| tee .e2e-profile-test-results.out
37
+
e2e-profile-remediations: install-jq ## Run TestProfile test only
38
+
set -o pipefail;PATH=$$PATH:/tmp/bin go test$(TEST_FLAGS). -run=^TestProfileRemediations$$ -profile="$(PROFILE)" -product="$(PRODUCT)" -install-operator=$(INSTALL_OPERATOR)| tee .e2e-profile-test-results.out
0 commit comments