Browse Source

Merge pull request #115 from ElementsProject/pytest-pathfix

pytest: don't assume paths of valgrind and bitcoind.
ppa-0.6.1
Christian Decker 8 years ago
committed by GitHub
parent
commit
66175c7361
  1. 2
      tests/test_lightningd.py
  2. 2
      tests/utils.py

2
tests/test_lightningd.py

@ -80,7 +80,7 @@ class NodeFactory(object):
self.nodes.append(node)
if VALGRIND:
node.daemon.cmd_line = [
'/usr/bin/valgrind',
'valgrind',
'-q',
'--error-exitcode=7',
'--log-file={}/valgrind-errors'.format(node.daemon.lightning_dir)

2
tests/utils.py

@ -122,7 +122,7 @@ class BitcoinD(TailableProc):
os.makedirs(regtestdir)
self.cmd_line = [
'/usr/bin/bitcoind',
'bitcoind',
'-datadir={}'.format(bitcoin_dir),
'-printtoconsole',
'-server',

Loading…
Cancel
Save