CMake wiring, minor cleanup, minor test addition

Make Cmake things aware of BerkeleyDB and BlockchainBDB

Make the BlockchainDB unit tests aware of BlockchainBDB
This commit is contained in:
Thomas Winget
2015-03-16 03:12:54 -04:00
parent 1bc89398b4
commit cade0da8f1
6 changed files with 37 additions and 2 deletions

View File

@@ -35,6 +35,7 @@
#include "blockchain_db/blockchain_db.h"
#include "blockchain_db/lmdb/db_lmdb.h"
#include "blockchain_db/berkeleydb/db_bdb.h"
#include "cryptonote_core/cryptonote_format_utils.h"
using namespace cryptonote;
@@ -209,7 +210,7 @@ protected:
using testing::Types;
typedef Types<BlockchainLMDB> implementations;
typedef Types<BlockchainLMDB, BlockchainBDB> implementations;
TYPED_TEST_CASE(BlockchainDBTest, implementations);