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
+5-2
Original file line number
Diff line number
Diff line change
@@ -195,7 +195,10 @@ test-ext-dev-e2e: $(OPERATOR_SDK) $(KUSTOMIZE) $(KIND) #HELP Run extension creat
195
195
go test -count=1 -v ./test/extension-developer-e2e/...
196
196
197
197
ENVTEST_VERSION := $(shell go list -m k8s.io/client-go | cut -d" " -f2 | sed 's/^v0\.\([[:digit:]]\{1,\}\)\.[[:digit:]]\{1,\}$$/1.\1.x/')
198
-
UNIT_TEST_DIRS := $(shell go list ./... | grep -v /test/ | grep -v /catalogd/test/)
198
+
# Define TEST_PKGS to be either user-specified or a default set of packages:
199
+
ifeq ($(origin TEST_PKGS), undefined)
200
+
TEST_PKGS := $(shell go list ./... | grep -v /test/ | grep -v /catalogd/test/)
201
+
endif
199
202
COVERAGE_UNIT_DIR := $(ROOT_DIR)/coverage/unit
200
203
201
204
.PHONY: envtest-k8s-bins #HELP Uses setup-envtest to download and install the binaries required to run ENVTEST-test based locally at the project/bin directory.
@@ -212,7 +215,7 @@ test-unit: $(SETUP_ENVTEST) envtest-k8s-bins #HELP Run the unit tests
0 commit comments