Merge #18534: test: skip backwards compat tests if not compiled with wallet

c0c43ae147 test: skip backwards compat tests if not compiled with wallet (fanquake)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: d9975a1490e69134408b6b724cea26a6c1397d43f59850283b9e338ae38e00fefbcd868fb141e0a4bb55f02076690a99331f29cfa2d0fa66c165032b24a94081
This commit is contained in:
MarcoFalke 2020-04-06 21:27:53 +08:00
commit 299544f9c5
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -40,6 +40,9 @@ class BackwardsCompatibilityTest(BitcoinTestFramework):
["-nowallet", "-walletrbf=1", "-addresstype=bech32"] # v0.17.1
]
def skip_test_if_missing_module(self):
self.skip_if_no_wallet()
def setup_nodes(self):
if os.getenv("TEST_PREVIOUS_RELEASES") == "false":
raise SkipTest("backwards compatibility tests")