aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-12-17 19:52:58 +0100
committerMarcoFalke <falke.marco@gmail.com>2020-12-17 20:33:45 +0100
commitfaf8f61368696b9cbbea55ead30d6a48203235ff (patch)
tree3c17a48ef9cb4eac346b2200087b7133be4af1f4 /test
parentfa7dde1c418e2e700853bd30cc9e012c4e4c5ef2 (diff)
downloadbitcoin-faf8f61368696b9cbbea55ead30d6a48203235ff.tar.xz
test: Add missing check for is_sqlite_compiled
Diffstat (limited to 'test')
-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 1093982929..288128e00e 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")
- 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')
bad_ver_wallet_dump = os.path.join(self.nodes[0].datadir, "wallet-bad_ver1.dump")