Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13115180
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
883 B
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Mar 2, 10:08 (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187302
Default Alt Text
(883 B)
Attached To
rABC Bitcoin ABC
Event Timeline
Log In to Comment