From c0c43ae1471347ea93614e9a25989f13b021f8a8 Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 6 Apr 2020 09:03:17 +0800 Subject: test: skip backwards compat tests if not compiled with wallet --- test/functional/feature_backwards_compatibility.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/functional/feature_backwards_compatibility.py b/test/functional/feature_backwards_compatibility.py index 0db74432e2..adf66243b7 100755 --- a/test/functional/feature_backwards_compatibility.py +++ b/test/functional/feature_backwards_compatibility.py @@ -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") -- cgit v1.2.3