mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
Global fixture to send output to console instead of debug.log
This commit is contained in:
parent
bf798734db
commit
cc40ba2151
@ -4,6 +4,16 @@
|
||||
#include "main.h"
|
||||
#include "wallet.h"
|
||||
|
||||
extern bool fPrintToConsole;
|
||||
struct TestingSetup {
|
||||
TestingSetup() {
|
||||
fPrintToConsole = true; // don't want to write to debug.log file
|
||||
}
|
||||
~TestingSetup() { }
|
||||
};
|
||||
|
||||
BOOST_GLOBAL_FIXTURE(TestingSetup);
|
||||
|
||||
CWallet* pwalletMain;
|
||||
|
||||
void Shutdown(void* parg)
|
||||
|
Loading…
Reference in New Issue
Block a user