Skip legacy wallet reliant tests if BDB is not compiled

pull/826/head
Andrew Chow 4 years ago
parent 6f36242389
commit b9b88f57a9

@ -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."""

Loading…
Cancel
Save