aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-12-14 13:51:11 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-12-15 10:12:38 +0100
commit9e9056cd1a05e5868025553d2a8cb3e47cf45045 (patch)
treeccb955d1bd925032fb107b908f6cc7a836d9efe5 /src/test
parent8a7606f35bf6ce862996559d4860c9b7f618e9ee (diff)
downloadbitcoin-9e9056cd1a05e5868025553d2a8cb3e47cf45045.tar.xz
Remove -logtodebugger
`-logtodebugger` is a strange, obscure, WIN32-only (mostly MSVC) thing. Let's clean up the options a bit get rid of it. test_bitcoin was using fLogToDebugger as a way to prevent logging to debug.log. For this, add a boolean (not exposed as option) fLogToDebugLog that defaults to true and is disabled in the tests.
Diffstat (limited to 'src/test')
-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 a4592fe803..a9cb48e8cf 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -26,7 +26,7 @@ struct TestingSetup {
boost::thread_group threadGroup;
TestingSetup() {
- fPrintToDebugger = true; // don't want to write to debug.log file
+ fPrintToDebugLog = false; // don't want to write to debug.log file
noui_connect();
#ifdef ENABLE_WALLET
bitdb.MakeMock();