tests: Disable bdb dump test when no bdb

This commit is contained in:
Andrew Chow committed 2021-01-27 12:52:46 -05:00
1 parent 1194cf9269
commit 49797c3ccf
1 file changed
+2 -1
+2 -1
View File
@@ -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")