mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
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:
parent
1bc89398b4
commit
cade0da8f1
6 changed files with 37 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -57,6 +57,7 @@ add_executable(unit_tests
|
|||
target_link_libraries(unit_tests
|
||||
LINK_PRIVATE
|
||||
cryptonote_core
|
||||
blockchain_db
|
||||
rpc
|
||||
wallet
|
||||
${GTEST_MAIN_LIBRARIES}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue