aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
blob: 4b52b74cfe6ea94a6bbf2c61c31af810e42a0d95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#define BOOST_TEST_MODULE Bitcoin Test Suite
#include <boost/test/unit_test.hpp>

#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)
{
  exit(0);
}