mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-13 04:37:01 +02:00
Skip legacy wallet reliant tests if BDB is not compiled
This commit is contained in:
@ -789,6 +789,8 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
|
||||
raise SkipTest("wallet has not been compiled.")
|
||||
if self.options.descriptors:
|
||||
self.skip_if_no_sqlite()
|
||||
else:
|
||||
self.skip_if_no_bdb()
|
||||
|
||||
def skip_if_no_sqlite(self):
|
||||
"""Skip the running test if sqlite has not been compiled."""
|
||||
|
Reference in New Issue
Block a user