Browse Source
Remove the use of wildcard imports in rpc-tests.py and replace with configparser.0.15
John Newbery
8 years ago
5 changed files with 41 additions and 36 deletions
@ -0,0 +1,25 @@ |
|||||||
|
# Copyright (c) 2013-2016 The Bitcoin Core developers |
||||||
|
# Distributed under the MIT software license, see the accompanying |
||||||
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php. |
||||||
|
|
||||||
|
# These environment variables are set by the build process and read by |
||||||
|
# rpc-tests.py |
||||||
|
|
||||||
|
[DEFAULT] |
||||||
|
# Provides default values for whether different components are enabled |
||||||
|
ENABLE_WALLET=False |
||||||
|
ENABLE_UTILS=False |
||||||
|
ENABLE_BITCOIND=False |
||||||
|
ENABLE_ZMQ=False |
||||||
|
|
||||||
|
[environment] |
||||||
|
SRCDIR=@abs_top_srcdir@ |
||||||
|
BUILDDIR=@abs_top_builddir@ |
||||||
|
EXEEXT=@EXEEXT@ |
||||||
|
|
||||||
|
[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_BITCOIND_TRUE@ENABLE_BITCOIND=True |
||||||
|
@ENABLE_ZMQ_TRUE@ENABLE_ZMQ=True |
@ -1,14 +0,0 @@ |
|||||||
#!/usr/bin/env python3 |
|
||||||
# Copyright (c) 2013-2016 The Bitcoin Core developers |
|
||||||
# Distributed under the MIT software license, see the accompanying |
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. |
|
||||||
|
|
||||||
SRCDIR="@abs_top_srcdir@" |
|
||||||
BUILDDIR="@abs_top_builddir@" |
|
||||||
EXEEXT="@EXEEXT@" |
|
||||||
|
|
||||||
# These will turn into comments if they were disabled when configuring. |
|
||||||
@ENABLE_WALLET_TRUE@ENABLE_WALLET=1 |
|
||||||
@BUILD_BITCOIN_UTILS_TRUE@ENABLE_UTILS=1 |
|
||||||
@BUILD_BITCOIND_TRUE@ENABLE_BITCOIND=1 |
|
||||||
@ENABLE_ZMQ_TRUE@ENABLE_ZMQ=1 |
|
Loading…
Reference in new issue