mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-02 10:14:31 +00:00
test: don't override BITCOIND and BITCOINCLI if they're set
In rpc-tests.py, don't override BITCOIND and BITCOINCLI if they're already set. Makes it possible to run the tests with either another tree or the GUI.
This commit is contained in:
parent
7a5040155e
commit
83cdcbdca4
@ -62,8 +62,10 @@ for arg in sys.argv[1:]:
|
|||||||
|
|
||||||
#Set env vars
|
#Set env vars
|
||||||
buildDir = BUILDDIR
|
buildDir = BUILDDIR
|
||||||
os.environ["BITCOIND"] = buildDir + '/src/bitcoind' + EXEEXT
|
if "BITCOIND" not in os.environ:
|
||||||
os.environ["BITCOINCLI"] = buildDir + '/src/bitcoin-cli' + EXEEXT
|
os.environ["BITCOIND"] = buildDir + '/src/bitcoind' + EXEEXT
|
||||||
|
if "BITCOINCLI" not in os.environ:
|
||||||
|
os.environ["BITCOINCLI"] = buildDir + '/src/bitcoin-cli' + EXEEXT
|
||||||
|
|
||||||
#Disable Windows tests by default
|
#Disable Windows tests by default
|
||||||
if EXEEXT == ".exe" and "-win" not in opts:
|
if EXEEXT == ".exe" and "-win" not in opts:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user