mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02:00
Merge 27717 via test_util_env-0.16
This commit is contained in:
commit
a61c3f399a
@ -86,6 +86,11 @@ def bctest(testDir, testObj, buildenv):
|
||||
"""
|
||||
# Get the exec names and arguments
|
||||
execprog = os.path.join(buildenv["BUILDDIR"], "src", testObj["exec"] + buildenv["EXEEXT"])
|
||||
if testObj["exec"] == "./bitcoin-util":
|
||||
execprog = os.getenv("BITCOINUTIL", default=execprog)
|
||||
elif testObj["exec"] == "./bitcoin-tx":
|
||||
execprog = os.getenv("BITCOINTX", default=execprog)
|
||||
|
||||
execargs = testObj['args']
|
||||
execrun = [execprog] + execargs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user