File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ RELEASE_DIR ?= out
23
23
export ACK_GINKGO_DEPRECATIONS := 1.16.5
24
24
export ACK_GINKGO_RC =true
25
25
26
- PROJECT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST ) ) ) )
26
+ export PROJECT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST ) ) ) )
27
27
export PATH := $(PROJECT_DIR ) /bin:$(PATH )
28
28
29
29
all : build
@@ -179,10 +179,6 @@ export KUBEBUILDER_ASSETS=$(PROJECT_DIR)/bin
179
179
test : generate-mocks lint bin/ginkgo bin/kubectl bin/kube-apiserver bin/etcd # # Run tests. At the moment this is only unit tests.
180
180
@./hack/testing_ginkgo_recover_statements.sh --add # Add ginkgo.GinkgoRecover() statements to controllers.
181
181
@# The following is a slightly funky way to make sure the ginkgo statements are removed regardless the test results.
182
- echo $$ PROJECT_DIR
183
- echo $$ PROJECT_DIR
184
- echo $$ PROJECT_DIR
185
- echo $$ PROJECT_DIR
186
182
@cd ./test/unit && ginkgo_v2 -v ./... -coverprofile cover.out; EXIT_STATUS=$$? ; \
187
183
cd ../../ && ./hack/testing_ginkgo_recover_statements.sh --remove; exit $$ EXIT_STATUS
188
184
You can’t perform that action at this time.
0 commit comments