[tests] add TestNodeCLI class for calling bitcoin-cli for a node

This commit is contained in:
John Newbery
2017-07-11 13:01:44 -04:00
parent 85aec87b11
commit b23549f6e6
2 changed files with 30 additions and 0 deletions

View File

@@ -279,6 +279,7 @@ def run_tests(test_list, src_dir, build_dir, exeext, tmpdir, jobs=1, enable_cove
#Set env vars
if "BITCOIND" not in os.environ:
os.environ["BITCOIND"] = build_dir + '/src/bitcoind' + exeext
os.environ["BITCOINCLI"] = build_dir + '/src/bitcoin-cli' + exeext
tests_dir = src_dir + '/test/functional/'