From 8a2f4f2804c9167e2a4facd907ce6494740d5c6b Mon Sep 17 00:00:00 2001 From: ykim-1 Date: Mon, 20 Jan 2025 18:08:42 -0800 Subject: [PATCH] add TEST_ARGS to unit and integration test commands --- Makefile | 4 ++-- test/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4318a2744..04aae0303 100644 --- a/Makefile +++ b/Makefile @@ -25,10 +25,10 @@ citest: lint test test-unit: go test -v $(PACKAGES) $(TEST_ARGS) - cd test && make test-unit + cd test && make test-unit $(TEST_ARGS) test-int: - cd test && make test-int + cd test && make test-int $(TEST_ARGS) testcov-func: @go test -v -coverprofile="coverage.txt" . > /dev/null 2>&1 diff --git a/test/Makefile b/test/Makefile index e9f2e27f6..40371f285 100644 --- a/test/Makefile +++ b/test/Makefile @@ -10,7 +10,7 @@ test-int: .PHONY: test-unit test-unit: - go test -v ./unit/... + go test -v ./unit/... $(TEST_ARGS) .PHONY: test-smoke