Skip to content

Commit d4f6dac

Browse files
committed
Merge #13353: qa: Fixup setting of PATH env var
fa26cf0 qa: Fixup setting of PATH env var (MarcoFalke) Pull request description: This was an oversight of mine in #13188 Can be trivially tested with `BITCOIND=bitcoin-qt ./test/functional/wallet_disable.py` before and after this fix. Tree-SHA512: 06c7b2f12158855eb2b6392861943821bd7ad3152cf0dd49ac4abd878e5b937ebee55e256ce5bdc1c2a9c775a452112c34533366c934ff5f0f412b3a7e1c8118
2 parents 343d4e4 + fa26cf0 commit d4f6dac

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)