diff options
author | Toon Claes <toon@gitlab.com> | 2022-10-27 15:38:30 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2022-11-09 17:10:03 +0300 |
commit | b139427cc29e65616002afec083968134b25151c (patch) | |
tree | ceafd4b81a050ceb0608f6d682f16fdc814d471e | |
parent | 3c1d429140ceab5a521c6be1fc2a3bf6f18fd378 (diff) |
Makefile: Make benchmark more verbose
The default TEST_FORMAT is 'short', which doesn't output any expect for
success or failure. This is pretty useless in the case of benchmarks,
because you want to see the numbers of the benchmark.
Therefore override the TEST_FORMAT to 'standard-verbose' for the 'bench'
target.
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -382,6 +382,7 @@ debug-test-go: prepare-tests prepare-debug .PHONY: test ## Run Go benchmarks. +bench: override TEST_FORMAT := standard-verbose bench: override TEST_OPTIONS := ${TEST_OPTIONS} -bench=. -run=^$ bench: ${BENCHMARK_REPO} prepare-tests ${Q}$(call run_go_tests) |