From f17e99a188d25962248f41e6835b0fccbeb3d726 Mon Sep 17 00:00:00 2001 From: Muhammad Omair Javaid Date: Thu, 4 Sep 2025 14:26:38 +0500 Subject: [PATCH] [ClangBuilder] Correct path of testsuite virtualenv's lnt This is a follow up to #586. Fixes 60d2141a5073ce1330bc45e4cc827344af67894b. 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. --- zorg/buildbot/builders/ClangBuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zorg/buildbot/builders/ClangBuilder.py b/zorg/buildbot/builders/ClangBuilder.py index 4c58abb64..9b3157d76 100644 --- a/zorg/buildbot/builders/ClangBuilder.py +++ b/zorg/buildbot/builders/ClangBuilder.py @@ -536,7 +536,7 @@ def _getClangCMakeBuildFactory( virtualenv_dir = 'Scripts' if vs else 'bin' python = InterpolateToPosixPath(f'%(prop:builddir)s/test/sandbox/{virtualenv_dir}/python') lnt_ext = '.exe' if vs else '' - lnt = InterpolateToPosixPath(f'%(prop:builddir)s/test/sandbox/Scripts/lnt{lnt_ext}') + lnt = InterpolateToPosixPath(f'%(prop:builddir)s/test/sandbox/{virtualenv_dir}/lnt{lnt_ext}') lnt_setup = InterpolateToPosixPath('%(prop:builddir)s/test/lnt/setup.py') # Paths