aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-04-06 09:03:17 +0800
committerfanquake <fanquake@gmail.com>2020-04-06 09:03:17 +0800
commitc0c43ae1471347ea93614e9a25989f13b021f8a8 (patch)
treec320ebc8d2a6c2911fb164f7954af47967d09817
parentcf21293ef7fd304efb0843abeb17adc6159ca927 (diff)
test: skip backwards compat tests if not compiled with wallet
-rwxr-xr-xtest/functional/feature_backwards_compatibility.py3
1 files changed, 3 insertions, 0 deletions
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")