aboutsummaryrefslogtreecommitdiff
path: root/test/util/bitcoin-util-test.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-03-21 14:47:20 -0400
committerJohn Newbery <john@johnnewbery.com>2017-05-03 14:18:30 -0400
commit95836c5eba4a6cdc835e72189e4b0fe3e9458c5a (patch)
tree748a546968a543fab96e326388e6bd395b484b28 /test/util/bitcoin-util-test.py
parent89fcd3586c9714a923b6a3147f60e43d5de74942 (diff)
downloadbitcoin-95836c5eba4a6cdc835e72189e4b0fe3e9458c5a.tar.xz
Use shared config file for functional and util tests
The functional tests and util tests both require a config file that is generated by ./configure. This commit merges those two config files into a single configuration file that can be shared by both tests. The config from config.ini is put into a Namespace object to maintain the interface with bctest.py. A future commit could change this interface to use a dictionary instead of a namespace.
Diffstat (limited to 'test/util/bitcoin-util-test.py')
-rwxr-xr-xtest/util/bitcoin-util-test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util/bitcoin-util-test.py b/test/util/bitcoin-util-test.py
index f85bd13f93..ce0b9ca938 100755
--- a/test/util/bitcoin-util-test.py
+++ b/test/util/bitcoin-util-test.py
@@ -20,7 +20,7 @@ if __name__ == '__main__':
import bctest
config = configparser.ConfigParser()
- config.read_file(open(os.path.dirname(__file__) + "/config.ini"))
+ config.read_file(open(os.path.dirname(__file__) + "/../config.ini"))
buildenv = argparse.Namespace(exeext=config["environment"]["EXEEXT"],
SRCDIR=config["environment"]["SRCDIR"],