File tree 2 files changed +10
-0
lines changed
functional/test_framework
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RPCAUTH=@abs_top_srcdir@/share/rpcauth/rpcauth.py
19
19
@USE_SQLITE_TRUE@USE_SQLITE=true
20
20
@USE_BDB_TRUE@USE_BDB=true
21
21
@BUILD_BITCOIN_CLI_TRUE@ENABLE_CLI=true
22
+ @BUILD_BITCOIN_UTIL_TRUE@ENABLE_BITCOIN_UTIL=true
22
23
@BUILD_BITCOIN_WALLET_TRUE@ENABLE_WALLET_TOOL=true
23
24
@BUILD_BITCOIND_TRUE@ENABLE_BITCOIND=true
24
25
@ENABLE_FUZZ_TRUE@ENABLE_FUZZ=true
Original file line number Diff line number Diff line change @@ -886,6 +886,11 @@ def skip_if_no_wallet_tool(self):
886
886
if not self .is_wallet_tool_compiled ():
887
887
raise SkipTest ("bitcoin-wallet has not been compiled" )
888
888
889
+ def skip_if_no_bitcoin_util (self ):
890
+ """Skip the running test if bitcoin-util has not been compiled."""
891
+ if not self .is_bitcoin_util_compiled ():
892
+ raise SkipTest ("bitcoin-util has not been compiled" )
893
+
889
894
def skip_if_no_cli (self ):
890
895
"""Skip the running test if bitcoin-cli has not been compiled."""
891
896
if not self .is_cli_compiled ():
@@ -933,6 +938,10 @@ def is_wallet_tool_compiled(self):
933
938
"""Checks whether bitcoin-wallet was compiled."""
934
939
return self .config ["components" ].getboolean ("ENABLE_WALLET_TOOL" )
935
940
941
+ def is_bitcoin_util_compiled (self ):
942
+ """Checks whether bitcoin-util was compiled."""
943
+ return self .config ["components" ].getboolean ("ENABLE_BITCOIN_UTIL" )
944
+
936
945
def is_zmq_compiled (self ):
937
946
"""Checks whether the zmq module was compiled."""
938
947
return self .config ["components" ].getboolean ("ENABLE_ZMQ" )
You can’t perform that action at this time.
0 commit comments