Skip to content

Commit

Permalink
add TEST_ARGS to unit and integration test commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ykim-akamai committed Jan 21, 2025
1 parent 2ddfa7f commit 8a2f4f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test-int:
.PHONY: test-unit

test-unit:
go test -v ./unit/...
go test -v ./unit/... $(TEST_ARGS)

.PHONY: test-smoke

Expand Down

0 comments on commit 8a2f4f2

Please sign in to comment.