diff options
author | John Newbery <john@johnnewbery.com> | 2017-05-01 15:12:49 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-05-01 15:12:49 -0400 |
commit | b8251f63373ed58a05d104f9c1637d2c07b3569e (patch) | |
tree | 018248012b0999c9e86c23c6b34cad3c2da94531 /test/functional/test_runner.py | |
parent | e2b99b13131b5d0fd6fae6d55892c2ebb327d438 (diff) | |
download | bitcoin-b8251f63373ed58a05d104f9c1637d2c07b3569e.tar.xz |
[tests] allow zmq test to be run in out-of-tree builds
Diffstat (limited to 'test/functional/test_runner.py')
-rwxr-xr-x | test/functional/test_runner.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index 0996b1bc20..965fe9ad7f 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -178,7 +178,10 @@ def main(): # Read config generated by configure. config = configparser.ConfigParser() - config.read_file(open(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) # Set up logging logging_level = logging.INFO if args.quiet else logging.DEBUG |