0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-02 09:46:52 -05:00

Skip legacy wallet reliant tests if BDB is not compiled

This commit is contained in:
Andrew Chow 2020-10-29 19:41:05 -04:00
parent 6f36242389
commit b9b88f57a9

View file

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