File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
test/functional/test_framework Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -827,10 +827,19 @@ def has_previous_releases(self):
827
827
self .options .previous_releases_path ))
828
828
return self .options .prev_releases
829
829
830
+ def skip_if_no_external_signer (self ):
831
+ """Skip the running test if external signer support has not been compiled."""
832
+ if not self .is_external_signer_compiled ():
833
+ raise SkipTest ("external signer support has not been compiled." )
834
+
830
835
def is_cli_compiled (self ):
831
836
"""Checks whether bitcoin-cli was compiled."""
832
837
return self .config ["components" ].getboolean ("ENABLE_CLI" )
833
838
839
+ def is_external_signer_compiled (self ):
840
+ """Checks whether external signer support was compiled."""
841
+ return self .config ["components" ].getboolean ("ENABLE_EXTERNAL_SIGNER" )
842
+
834
843
def is_wallet_compiled (self ):
835
844
"""Checks whether the wallet module was compiled."""
836
845
return self .config ["components" ].getboolean ("ENABLE_WALLET" )
You can’t perform that action at this time.
0 commit comments