mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-26 14:00:29 +01:00
Merge #10331: Share config between util and functional tests
8ad5bdeMerge bctest.py into bitcoin-util-test.py (John Newbery)95836c5Use shared config file for functional and util tests (John Newbery)89fcd35Use an .ini config file for environment vars in bitcoin-util-test.py (John Newbery)e9265dfChange help_text in bitcoin-util-test.py to a docstring. (John Newbery)ce58e93Change bitcoin-util-test.py to use Python3 (John Newbery) Tree-SHA512: 66dab0b4a8546aee0dfaef134a165f1447aff4c0ec335754bbc7d9e55909721c62f09cdbf4b22d02ac1fcd5a9b66780f91e1cc4d8687fae7288cc9072a23a78f
This commit is contained in:
@@ -180,7 +180,7 @@ def main():
|
||||
|
||||
# Read config generated by configure.
|
||||
config = configparser.ConfigParser()
|
||||
configfile = os.path.abspath(os.path.dirname(__file__)) + "/config.ini"
|
||||
configfile = os.path.abspath(os.path.dirname(__file__)) + "/../config.ini"
|
||||
config.read_file(open(configfile))
|
||||
|
||||
passon_args.append("--configfile=%s" % configfile)
|
||||
|
||||
Reference in New Issue
Block a user