Skip to content

Commit

Permalink
tools: Add toggle for verbosity in running tests
Browse files Browse the repository at this point in the history
`make test` and `VERBOSE=1 make test`
  • Loading branch information
paulsmith committed Jan 3, 2024
1 parent 3c458ac commit add2368
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ build-docker:
.PHONY: build-docker

test tests:
go test -v . ./_runtime
if [ -n "$$VERBOSE" ]; then \
go test -v . ./_runtime; \
else \
go test . ./_runtime; \
fi

.PHONY: test tests

Expand Down

0 comments on commit add2368

Please sign in to comment.