aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2014-12-25 11:43:52 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2018-09-13 11:48:23 +0000
commit92af71cea92f8a5185b44e63684b87da9d7ad8a8 (patch)
tree865d35e089d20374310c824ca96d7c3535d553bb /test
parent288ddf4ff51cf47a40528207ba5d32775a2b9a6d (diff)
downloadbitcoin-92af71cea92f8a5185b44e63684b87da9d7ad8a8.tar.xz
configure: Make it possible to build only one of bitcoin-cli or bitcoin-tx
Diffstat (limited to 'test')
-rw-r--r--test/config.ini.in2
-rwxr-xr-xtest/functional/test_framework/test_framework.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/config.ini.in b/test/config.ini.in
index a1119dc739..28abee2a3d 100644
--- a/test/config.ini.in
+++ b/test/config.ini.in
@@ -14,6 +14,6 @@ RPCAUTH=@abs_top_srcdir@/share/rpcauth/rpcauth.py
[components]
# Which components are enabled. These are commented out by `configure` if they were disabled when running config.
@ENABLE_WALLET_TRUE@ENABLE_WALLET=true
-@BUILD_BITCOIN_UTILS_TRUE@ENABLE_UTILS=true
+@BUILD_BITCOIN_CLI_TRUE@ENABLE_CLI=true
@BUILD_BITCOIND_TRUE@ENABLE_BITCOIND=true
@ENABLE_ZMQ_TRUE@ENABLE_ZMQ=true
diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py
index 57c985b2a2..7d4e50c663 100755
--- a/test/functional/test_framework/test_framework.py
+++ b/test/functional/test_framework/test_framework.py
@@ -525,7 +525,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
config = configparser.ConfigParser()
config.read_file(open(self.options.configfile))
- return config["components"].getboolean("ENABLE_UTILS")
+ return config["components"].getboolean("ENABLE_CLI")
def is_wallet_compiled(self):
"""Checks whether the wallet module was compiled."""