Skip to content

Commit d4729e7

Browse files
authored
Update Makefile
1 parent 7e59ab8 commit d4729e7

File tree

1 file changed

+5
-22
lines changed

1 file changed

+5
-22
lines changed

Makefile

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ e2e-ipv6:
211211
format:
212212
./hack/format.sh
213213

214-
# New variables for test filtering
214+
# Variables for test filtering
215215
RUN_IN_CONTAINER ?= 0
216216
UNIT_TEST_PATTERN ?= .
217217
E2E_TEST_PATTERN ?= .
@@ -221,39 +221,22 @@ E2E_TEST_PATTERN ?= .
221221
test-unit:
222222
ifeq ($(RUN_IN_CONTAINER), 1)
223223
@echo "Running unit tests in Docker..."
224-
./hack/run-ut.sh --docker -run $(UNIT_TEST_PATTERN)
224+
./hack/run-ut.sh --docker
225225
else
226226
@echo "Running unit tests locally..."
227-
./hack/run-ut.sh --local -run $(UNIT_TEST_PATTERN)
227+
./hack/run-ut.sh --local
228228
endif
229229

230230
# Run E2E tests
231231
.PHONY: test-e2e
232232
test-e2e:
233233
@echo "Running E2E tests..."
234-
./test/e2e/run_test.sh --only-run-tests -run $(E2E_TEST_PATTERN)
234+
./test/e2e/run_test.sh --only-run-tests
235235

236236
# Run all tests (unit + E2E)
237237
.PHONY: test
238238
test: test-unit test-e2e
239239

240-
# Run specific unit tests
241-
.PHONY: test-unit-specific
242-
test-unit-specific:
243-
ifeq ($(RUN_IN_CONTAINER), 1)
244-
@echo "Running specific unit tests in Docker..."
245-
./hack/run-ut.sh --docker -run $(UNIT_TEST_PATTERN)
246-
else
247-
@echo "Running specific unit tests locally..."
248-
./hack/run-ut.sh --local -run $(UNIT_TEST_PATTERN)
249-
endif
250-
251-
# Run specific E2E tests
252-
.PHONY: test-e2e-specific
253-
test-e2e-specific:
254-
@echo "Running specific E2E tests..."
255-
./test/e2e/run_test.sh --only-run-tests -run $(E2E_TEST_PATTERN)
256-
257240
UPDATE_VERSION ?= ${VERSION}
258241
.PHONY: update-version
259242
update-version:
@@ -322,4 +305,4 @@ helm-push: helm-package
322305
# run other make targets
323306
@for chart in $(CHARTS); do \
324307
$(MAKE) $(addprefix helm-push., $$(basename $${chart})); \
325-
done
308+
done

0 commit comments

Comments
 (0)