aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.test.include
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-10-19 15:34:21 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-11-18 11:56:08 -0500
commita58b719cf75e2d97205ec260bcff0d4780fe4fb8 (patch)
tree59b1f757afd587e30aa4e094131c81db300929d9 /src/Makefile.test.include
parentb33af48210c117a734fc3e1bebeb1c2057645775 (diff)
downloadbitcoin-a58b719cf75e2d97205ec260bcff0d4780fe4fb8.tar.xz
Do not compile BDB things when USE_BDB is defined
Diffstat (limited to 'src/Makefile.test.include')
-rw-r--r--src/Makefile.test.include5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.test.include b/src/Makefile.test.include
index 9cc383c240..9fc7533e0d 100644
--- a/src/Makefile.test.include
+++ b/src/Makefile.test.include
@@ -292,7 +292,6 @@ BITCOIN_TESTS =\
if ENABLE_WALLET
BITCOIN_TESTS += \
- wallet/test/db_tests.cpp \
wallet/test/psbt_wallet_tests.cpp \
wallet/test/wallet_tests.cpp \
wallet/test/wallet_crypto_tests.cpp \
@@ -301,6 +300,10 @@ BITCOIN_TESTS += \
wallet/test/ismine_tests.cpp \
wallet/test/scriptpubkeyman_tests.cpp
+if USE_BDB
+BITCOIN_TESTS += wallet/test/db_tests.cpp
+endif
+
BITCOIN_TEST_SUITE += \
wallet/test/wallet_test_fixture.cpp \
wallet/test/wallet_test_fixture.h \