aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-08-20 11:33:20 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-08-20 11:33:20 -0400
commit4d51be1cf36fee33df57c9c4500b221d355cf636 (patch)
treeff71467efbeeebb96fbd502bdc3b364ff95ae568 /src/test/test_bitcoin.cpp
parentb3a570d158224e6ae6ee72fadd2bf947d7656f23 (diff)
Suppress output when running unit tests.
This does two things: 1) Now does not output to debug.log if -printtodebugger flag is passed 2) Unit tests set -printtodebugger so only test results are output to stdout Note that -printtodebugger only actually prints to the debugger on Windows.
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index cae0bb6baf..bcf0907871 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -13,7 +13,7 @@ extern void noui_connect();
struct TestingSetup {
TestingSetup() {
- fPrintToConsole = true; // don't want to write to debug.log file
+ fPrintToDebugger = true; // don't want to write to debug.log file
noui_connect();
bitdb.MakeMock();
LoadBlockIndex(true);