diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-10-19 15:34:21 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-11-18 11:56:08 -0500 |
commit | a58b719cf75e2d97205ec260bcff0d4780fe4fb8 (patch) | |
tree | 59b1f757afd587e30aa4e094131c81db300929d9 /src/Makefile.test.include | |
parent | b33af48210c117a734fc3e1bebeb1c2057645775 (diff) |
Do not compile BDB things when USE_BDB is defined
Diffstat (limited to 'src/Makefile.test.include')
-rw-r--r-- | src/Makefile.test.include | 5 |
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 \ |