Dashify BITCOINCLI

This commit is contained in:
Alexander Block 2019-09-24 01:09:01 +02:00
parent 1adc2001a8
commit ebfec2218a
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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/'