0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

test: Add missing check for is_sqlite_compiled

This commit is contained in:
MarcoFalke 2020-12-17 19:52:58 +01:00
parent fa7dde1c41
commit faf8f61368
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -348,7 +348,8 @@ class ToolWalletTest(BitcoinTestFramework):
self.log.info('Checking createfromdump') self.log.info('Checking createfromdump')
self.do_tool_createfromdump("load", "wallet.dump") self.do_tool_createfromdump("load", "wallet.dump")
self.do_tool_createfromdump("load-bdb", "wallet.dump", "bdb") self.do_tool_createfromdump("load-bdb", "wallet.dump", "bdb")
self.do_tool_createfromdump("load-sqlite", "wallet.dump", "sqlite") if self.is_sqlite_compiled():
self.do_tool_createfromdump("load-sqlite", "wallet.dump", "sqlite")
self.log.info('Checking createfromdump handling of magic and versions') self.log.info('Checking createfromdump handling of magic and versions')
bad_ver_wallet_dump = os.path.join(self.nodes[0].datadir, "wallet-bad_ver1.dump") bad_ver_wallet_dump = os.path.join(self.nodes[0].datadir, "wallet-bad_ver1.dump")