aboutsummaryrefslogtreecommitdiff
path: root/test/functional/tool_wallet.py
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2021-01-08 19:31:18 -0500
committerAndrew Chow <achow101-github@achow101.com>2021-01-27 12:52:46 -0500
commit49797c3ccfbb9f7ac9c1fbb574d35b315c103805 (patch)
tree297808e112ee03f31ed1af462dcf87f81266ce4f /test/functional/tool_wallet.py
parent1194cf9269e6c4bf67b09c4766f42bf173d12c0a (diff)
downloadbitcoin-49797c3ccfbb9f7ac9c1fbb574d35b315c103805.tar.xz
tests: Disable bdb dump test when no bdb
Diffstat (limited to 'test/functional/tool_wallet.py')
-rwxr-xr-xtest/functional/tool_wallet.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/tool_wallet.py b/test/functional/tool_wallet.py
index 8a1af24dcf..232848c7cf 100755
--- a/test/functional/tool_wallet.py
+++ b/test/functional/tool_wallet.py
@@ -348,7 +348,8 @@ class ToolWalletTest(BitcoinTestFramework):
self.log.info('Checking createfromdump')
self.do_tool_createfromdump("load", "wallet.dump")
- self.do_tool_createfromdump("load-bdb", "wallet.dump", "bdb")
+ if self.is_bdb_compiled():
+ self.do_tool_createfromdump("load-bdb", "wallet.dump", "bdb")
if self.is_sqlite_compiled():
self.do_tool_createfromdump("load-sqlite", "wallet.dump", "sqlite")