From 49797c3ccfbb9f7ac9c1fbb574d35b315c103805 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Fri, 8 Jan 2021 19:31:18 -0500 Subject: [PATCH] tests: Disable bdb dump test when no bdb --- test/functional/tool_wallet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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")