diff options
author | Toon Claes <toon@gitlab.com> | 2022-10-27 15:36:28 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2022-11-09 17:10:03 +0300 |
commit | 3c1d429140ceab5a521c6be1fc2a3bf6f18fd378 (patch) | |
tree | c2bf9ffdb328fa4528028679291e7229b54dfa4d /Makefile | |
parent | 6b198af0c271cccede1e7d8114367be81faa33b9 (diff) |
Makefile: Ensure benchmark.git exists when running bench
The 'bench' target relied on Make handling the prerequisites in order,
never the less, this is not guaranteed.
To fix this, specify the recipe explicitly so all prerequisites are met
before the benchmark is started.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -383,7 +383,8 @@ debug-test-go: prepare-tests prepare-debug .PHONY: test ## Run Go benchmarks. bench: override TEST_OPTIONS := ${TEST_OPTIONS} -bench=. -run=^$ -bench: ${BENCHMARK_REPO} test-go +bench: ${BENCHMARK_REPO} prepare-tests + ${Q}$(call run_go_tests) .PHONY: test-with-proxies test-with-proxies: override TEST_OPTIONS := ${TEST_OPTIONS} -exec ${SOURCE_DIR}/_support/bad-proxies |