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
This commit is contained in:
Vegard Nossum
2011-07-31 20:00:38 +02:00
committed by Gavin Andresen
parent 02962ba848
commit e707d29dd6
7 changed files with 20 additions and 6 deletions

View File

@@ -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);
}