diff options
| author | Vegard Nossum <[email protected]> | 2011-07-31 20:00:38 +0200 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-08-08 14:31:08 -0400 |
| commit | e707d29dd601bbe691175b72686caeaea29b1cbc (patch) | |
| tree | 81f0d487000519207776a75b9d679ee0f36aa41f /src/test/test_bitcoin.cpp | |
| parent | Add missing include to serialize.h (diff) | |
| download | discoin-e707d29dd601bbe691175b72686caeaea29b1cbc.tar.xz discoin-e707d29dd601bbe691175b72686caeaea29b1cbc.zip | |
Fix testing setup
There were some problems with the existing testing setup:
- Makefile rules for test-file compilation used CFLAGS instead of
CXXFLAGS in makefile.unix
Diffstat (limited to 'src/test/test_bitcoin.cpp')
| -rw-r--r-- | src/test/test_bitcoin.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 3b7d2d2f2..3d7ee9084 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -1,6 +1,16 @@ #define BOOST_TEST_MODULE uint160 #include <boost/test/unit_test.hpp> +#include "../main.h" +#include "../wallet.h" + #include "uint160_tests.cpp" #include "uint256_tests.cpp" + +CWallet* pwalletMain; + +void Shutdown(void* parg) +{ + exit(0); +} |