SquishTests: Tweak the handling of special clang

When expecting the clang from llvm used to build QC we
nowadays have to resolve symbolc links.

Change-Id: I54cfecc15d77f244eccd81d5cdd14ec7297e1eeb
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2023-10-11 10:08:40 +02:00
parent 1418dc04e0
commit 7459fb0c75

View File

@@ -39,6 +39,7 @@ def __checkKits__():
internalClangExe = os.path.join(llvmForBuild, "bin", "clang")
if platform.system() in ("Microsoft", "Windows"):
internalClangExe += ".exe"
internalClangExe = os.path.realpath(internalClangExe) # clean symlinks
if os.path.exists(internalClangExe):
expectedCompilers.append(internalClangExe)
foundCompilers = []