Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2022-10-27 15:38:30 +0300
committerToon Claes <toon@gitlab.com>2022-11-09 17:10:03 +0300
commitb139427cc29e65616002afec083968134b25151c (patch)
treeceafd4b81a050ceb0608f6d682f16fdc814d471e
parent3c1d429140ceab5a521c6be1fc2a3bf6f18fd378 (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--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 663fcde98..b50f638ee 100644
--- a/Makefile
+++ b/Makefile
@@ -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)