Page MenuHomePhabricator

No OneTemporary

diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index bf597c9b7..96d63bff9 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -1,32 +1,38 @@
#define BOOST_TEST_MODULE Bitcoin Test Suite
#include <boost/test/unit_test.hpp>
#include "main.h"
#include "wallet.h"
CWallet* pwalletMain;
CClientUIInterface uiInterface;
extern bool fPrintToConsole;
extern void noui_connect();
struct TestingSetup {
TestingSetup() {
fPrintToConsole = true; // don't want to write to debug.log file
noui_connect();
pwalletMain = new CWallet();
RegisterWallet(pwalletMain);
}
~TestingSetup()
{
delete pwalletMain;
pwalletMain = NULL;
}
};
BOOST_GLOBAL_FIXTURE(TestingSetup);
void Shutdown(void* parg)
{
exit(0);
}
+
+void StartShutdown()
+{
+ exit(0);
+}
+

File Metadata

Mime Type
text/x-diff
Expires
Sun, Mar 2, 10:08 (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187302
Default Alt Text
(883 B)

Event Timeline