mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
pytest: don't assume paths of valgrind and bitcoind.
In particular, my bitcoind is in /usr/local/bin Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -73,7 +73,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)
|
||||
|
||||
@@ -133,7 +133,7 @@ class BitcoinD(TailableProc):
|
||||
os.makedirs(regtestdir)
|
||||
|
||||
self.cmd_line = [
|
||||
'/usr/bin/bitcoind',
|
||||
'bitcoind',
|
||||
'-datadir={}'.format(bitcoin_dir),
|
||||
'-printtoconsole',
|
||||
'-server',
|
||||
|
||||
Reference in New Issue
Block a user