Skip to content

Commit fa26cf0

Browse files
author
MarcoFalke
committed
qa: Fixup setting of PATH env var
1 parent 61fcef0 commit fa26cf0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/functional/test_framework/test_framework.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,11 @@ def main(self):
130130
self.options.bitcoind = os.getenv("BITCOIND", default=config["environment"]["BUILDDIR"] + '/src/bitcoind' + config["environment"]["EXEEXT"])
131131
self.options.bitcoincli = os.getenv("BITCOINCLI", default=config["environment"]["BUILDDIR"] + '/src/bitcoin-cli' + config["environment"]["EXEEXT"])
132132

133-
os.environ['PATH'] = config['environment']['BUILDDIR'] + os.pathsep + \
134-
config['environment']['BUILDDIR'] + os.path.sep + "qt" + os.pathsep + \
135-
os.environ['PATH']
133+
os.environ['PATH'] = os.pathsep.join([
134+
os.path.join(config['environment']['BUILDDIR'], 'src'),
135+
os.path.join(config['environment']['BUILDDIR'], 'src', 'qt'),
136+
os.environ['PATH']
137+
])
136138

137139
# Set up temp directory and start logging
138140
if self.options.tmpdir:

0 commit comments

Comments
 (0)