Skip to content

Commit 02f18da

Browse files
authored
[ClangBuilder] Correct path of testsuite virtualenv's lnt (#592)
This is a follow up to #586. Fixes 60d2141. (#576) We forgot to fix the lnt path to work on both windows and linux. On Windows, it's Scripts/lnt, on Linux it's bin/lnt.
1 parent 651c1f3 commit 02f18da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zorg/buildbot/builders/ClangBuilder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def _getClangCMakeBuildFactory(
536536
virtualenv_dir = 'Scripts' if vs else 'bin'
537537
python = InterpolateToPosixPath(f'%(prop:builddir)s/test/sandbox/{virtualenv_dir}/python')
538538
lnt_ext = '.exe' if vs else ''
539-
lnt = InterpolateToPosixPath(f'%(prop:builddir)s/test/sandbox/Scripts/lnt{lnt_ext}')
539+
lnt = InterpolateToPosixPath(f'%(prop:builddir)s/test/sandbox/{virtualenv_dir}/lnt{lnt_ext}')
540540
lnt_setup = InterpolateToPosixPath('%(prop:builddir)s/test/lnt/setup.py')
541541

542542
# Paths

0 commit comments

Comments
 (0)