From ef4c5b5d8ec081b4cfe3c603338db772f2d5fd46 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 3 Nov 2015 09:51:44 +0000 Subject: unit_tests: fix build without berkeleydb --- tests/unit_tests/blockchain_db.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/unit_tests/blockchain_db.cpp b/tests/unit_tests/blockchain_db.cpp index fbd8a733c..54dd5d98f 100644 --- a/tests/unit_tests/blockchain_db.cpp +++ b/tests/unit_tests/blockchain_db.cpp @@ -37,7 +37,9 @@ #include "blockchain_db/blockchain_db.h" #include "blockchain_db/lmdb/db_lmdb.h" +#ifdef BERKELEY_DB #include "blockchain_db/berkeleydb/db_bdb.h" +#endif #include "cryptonote_core/cryptonote_format_utils.h" using namespace cryptonote; @@ -223,7 +225,11 @@ protected: using testing::Types; -typedef Types implementations; +typedef Types implementations; TYPED_TEST_CASE(BlockchainDBTest, implementations); -- cgit v1.2.3