mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Dashify BITCOINCLI
This commit is contained in:
parent
1adc2001a8
commit
ebfec2218a
@ -51,7 +51,7 @@ class TestNode():
|
|||||||
self.extra_args = extra_args
|
self.extra_args = extra_args
|
||||||
self.args = [self.binary, "-datadir=" + self.datadir, "-server", "-keypool=1", "-discover=0", "-rest", "-logtimemicros", "-debug", "-debugexclude=libevent", "-debugexclude=leveldb", "-mocktime=" + str(mocktime), "-uacomment=testnode%d" % i]
|
self.args = [self.binary, "-datadir=" + self.datadir, "-server", "-keypool=1", "-discover=0", "-rest", "-logtimemicros", "-debug", "-debugexclude=libevent", "-debugexclude=leveldb", "-mocktime=" + str(mocktime), "-uacomment=testnode%d" % i]
|
||||||
|
|
||||||
self.cli = TestNodeCLI(os.getenv("BITCOINCLI", "bitcoin-cli"), self.datadir)
|
self.cli = TestNodeCLI(os.getenv("BITCOINCLI", "dash-cli"), self.datadir)
|
||||||
|
|
||||||
# Don't try auto backups (they fail a lot when running tests)
|
# Don't try auto backups (they fail a lot when running tests)
|
||||||
self.args.append("-createwalletbackups=0")
|
self.args.append("-createwalletbackups=0")
|
||||||
|
@ -295,7 +295,7 @@ def run_tests(test_list, src_dir, build_dir, exeext, tmpdir, jobs=1, enable_cove
|
|||||||
#Set env vars
|
#Set env vars
|
||||||
if "BITCOIND" not in os.environ:
|
if "BITCOIND" not in os.environ:
|
||||||
os.environ["BITCOIND"] = build_dir + '/src/dashd' + exeext
|
os.environ["BITCOIND"] = build_dir + '/src/dashd' + exeext
|
||||||
os.environ["BITCOINCLI"] = build_dir + '/src/bitcoin-cli' + exeext
|
os.environ["BITCOINCLI"] = build_dir + '/src/dash-cli' + exeext
|
||||||
|
|
||||||
tests_dir = src_dir + '/test/functional/'
|
tests_dir = src_dir + '/test/functional/'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user