[tests] allow zmq test to be run in out-of-tree builds
This commit is contained in:
1 parent
e2b99b1313
commit
b8251f6337
3 files changed
+9
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user