We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddda16d commit 895ca2bCopy full SHA for 895ca2b
makefiles/bench.mk
@@ -8,7 +8,7 @@ bench: bench-run bench-stat-diff bench-stat
8
9
## Run benchmark, iterations count controlled by BENCH_COUNT, default 5.
10
bench-run:
11
- @$(GO) test -bench=. -count=$(BENCH_COUNT) -run=^a ./... | tee bench-$(REF_NAME).txt || (cat bench-$(REF_NAME).txt && exit 1)
+ @set -o pipefail && $(GO) test -bench=. -count=$(BENCH_COUNT) -run=^a ./... | tee bench-$(REF_NAME).txt
12
13
## Show benchmark comparison with base branch.
14
bench-stat-diff:
0 commit comments