mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
Skip legacy wallet reliant tests if BDB is not compiled
This commit is contained in:
parent
6f36242389
commit
b9b88f57a9
1 changed files with 2 additions and 0 deletions
|
@ -789,6 +789,8 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
|
||||||
raise SkipTest("wallet has not been compiled.")
|
raise SkipTest("wallet has not been compiled.")
|
||||||
if self.options.descriptors:
|
if self.options.descriptors:
|
||||||
self.skip_if_no_sqlite()
|
self.skip_if_no_sqlite()
|
||||||
|
else:
|
||||||
|
self.skip_if_no_bdb()
|
||||||
|
|
||||||
def skip_if_no_sqlite(self):
|
def skip_if_no_sqlite(self):
|
||||||
"""Skip the running test if sqlite has not been compiled."""
|
"""Skip the running test if sqlite has not been compiled."""
|
||||||
|
|
Loading…
Add table
Reference in a new issue