forked from qt-creator/qt-creator
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:
@@ -39,6 +39,7 @@ def __checkKits__():
|
|||||||
internalClangExe = os.path.join(llvmForBuild, "bin", "clang")
|
internalClangExe = os.path.join(llvmForBuild, "bin", "clang")
|
||||||
if platform.system() in ("Microsoft", "Windows"):
|
if platform.system() in ("Microsoft", "Windows"):
|
||||||
internalClangExe += ".exe"
|
internalClangExe += ".exe"
|
||||||
|
internalClangExe = os.path.realpath(internalClangExe) # clean symlinks
|
||||||
if os.path.exists(internalClangExe):
|
if os.path.exists(internalClangExe):
|
||||||
expectedCompilers.append(internalClangExe)
|
expectedCompilers.append(internalClangExe)
|
||||||
foundCompilers = []
|
foundCompilers = []
|
||||||
|
Reference in New Issue
Block a user