aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/test_node.py
diff options
context:
space:
mode:
authorEvan Klitzke <evan@eklitzke.org>2018-03-26 21:35:35 -0700
committerpracticalswift <practicalswift@users.noreply.github.com>2018-04-17 09:58:05 +0200
commit6a3b0d3d1aee1ab924f30b9910bc517c764917cd (patch)
treebd324a04e7e50a1851a98c04d28e90eb92be6e6d /test/functional/test_framework/test_node.py
parent07825088f9cfd8abece774b9d978c36ab90ce3d1 (diff)
downloadbitcoin-6a3b0d3d1aee1ab924f30b9910bc517c764917cd.tar.xz
Print to console by default when not run with -daemon
Printing to the debug log file can be disabled with -nodebulogfile
Diffstat (limited to 'test/functional/test_framework/test_node.py')
-rwxr-xr-xtest/functional/test_framework/test_node.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py
index 0f0d031f35..04d1de8d91 100755
--- a/test/functional/test_framework/test_node.py
+++ b/test/functional/test_framework/test_node.py
@@ -78,7 +78,17 @@ class TestNode():
# For those callers that need more flexibility, they can just set the args property directly.
# Note that common args are set in the config file (see initialize_datadir)
self.extra_args = extra_args
- self.args = [self.binary, "-datadir=" + self.datadir, "-logtimemicros", "-debug", "-debugexclude=libevent", "-debugexclude=leveldb", "-mocktime=" + str(mocktime), "-uacomment=testnode%d" % i]
+ self.args = [
+ self.binary,
+ "-datadir=" + self.datadir,
+ "-logtimemicros",
+ "-debug",
+ "-debugexclude=libevent",
+ "-debugexclude=leveldb",
+ "-mocktime=" + str(mocktime),
+ "-uacomment=testnode%d" % i,
+ "-noprinttoconsole"
+ ]
self.cli = TestNodeCLI(os.getenv("BITCOINCLI", "bitcoin-cli"), self.datadir)
self.use_cli = use_cli