test: Pass bench exe into test framework utils

This teaches the test framework about the bench executable, which is
required for the next commit.
This commit is contained in:
MarcoFalke committed 2026-01-01 20:38:59 +01:00
1 parent 315fdb4066
commit fa9fdbce79
5 files changed
+17

No files matched your search

+5
View File
@@ -261,6 +261,10 @@ class Binaries:
# Add -nonamed because "bitcoin rpc" enables -named by default, but bitcoin-cli doesn't
return self._argv("rpc", self.paths.bitcoincli) + ["-nonamed"]
def bench_argv(self):
"Return argv array that should be used to invoke bench_bitcoin"
return self._argv("bench", self.paths.bitcoin_bench)
def tx_argv(self):
"Return argv array that should be used to invoke bitcoin-tx"
return self._argv("tx", self.paths.bitcointx)
@@ -301,6 +305,7 @@ def get_binary_paths(config):
binaries = {
"bitcoin": "BITCOIN_BIN",
"bitcoind": "BITCOIND",
"bench_bitcoin": "BITCOIN_BENCH",
"bitcoin-cli": "BITCOINCLI",
"bitcoin-util": "BITCOINUTIL",
"bitcoin-tx": "BITCOINTX",