test: Support BITCOIN_CMD environment variable

Support new BITCOIN_CMD environment variable in functional test to be able to
test the new bitcoin wrapper executable and run other commands through it
instead of calling them directly.

Co-authored-by: Sjors Provoost <sjors@sprovoost.nl>
This commit is contained in:
Ryan OfskyandSjors Provoost committed 2025-05-12 13:49:17 -05:00
1 parent 9c8c68891b
commit 29bdd743bb
2 files changed
+21 -13

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ class TestNode():
# Configuration for logging is set as command-line args rather than in the bitcoin.conf file.
# This means that starting a bitcoind using the temp dir to debug a failed test won't
# spam debug.log.
self.args = self.binaries.daemon_argv() + [
self.args = self.binaries.node_argv() + [
f"-datadir={self.datadir_path}",
"-logtimemicros",
"-debug",