test: skip tool_wallet test when bitcoin-wallet isn't compiled

This commit is contained in:
fanquake
2019-11-18 16:48:52 -05:00
parent e9277baed6
commit a67352161c
3 changed files with 11 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class ToolWalletTest(BitcoinTestFramework):
def skip_test_if_missing_module(self):
self.skip_if_no_wallet()
self.skip_if_no_wallet_tool()
def bitcoin_wallet_process(self, *args):
binary = self.config["environment"]["BUILDDIR"] + '/src/bitcoin-wallet' + self.config["environment"]["EXEEXT"]