mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge f8123d483c into merged_master (Bitcoin PR #18952)
This commit is contained in:
commit
6a447f792f
1 changed files with 12 additions and 2 deletions
|
|
@ -185,8 +185,18 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
|
|||
config = configparser.ConfigParser()
|
||||
config.read_file(open(self.options.configfile))
|
||||
self.config = config
|
||||
self.options.bitcoind = os.getenv("BITCOIND", default=config["environment"]["BUILDDIR"] + '/src/elementsd' + config["environment"]["EXEEXT"])
|
||||
self.options.bitcoincli = os.getenv("BITCOINCLI", default=config["environment"]["BUILDDIR"] + '/src/elements-cli' + config["environment"]["EXEEXT"])
|
||||
fname_bitcoind = os.path.join(
|
||||
config["environment"]["BUILDDIR"],
|
||||
"src",
|
||||
"elementsd" + config["environment"]["EXEEXT"]
|
||||
)
|
||||
fname_bitcoincli = os.path.join(
|
||||
config["environment"]["BUILDDIR"],
|
||||
"src",
|
||||
"elements-cli" + config["environment"]["EXEEXT"]
|
||||
)
|
||||
self.options.bitcoind = os.getenv("BITCOIND", default=fname_bitcoind)
|
||||
self.options.bitcoincli = os.getenv("BITCOINCLI", default=fname_bitcoincli)
|
||||
|
||||
self.options.previous_releases_path = os.getenv("PREVIOUS_RELEASES_DIR") or os.getcwd() + "/releases"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue