Squish: Update clang detection in tst_default_settings

Change-Id: Ia1e0332253a309eae9579fff5cae2659a6089c50
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Robert Loehning
2019-07-30 13:11:31 +02:00
parent 4cfcdc65a5
commit e425d88b6b

View File

@@ -210,6 +210,7 @@ def __getExpectedCompilers__():
compilers = ["g++", "gcc"] compilers = ["g++", "gcc"]
if platform.system() in ('Linux', 'Darwin'): if platform.system() in ('Linux', 'Darwin'):
compilers.extend(["clang++", "clang", "afl-clang"]) compilers.extend(["clang++", "clang", "afl-clang"])
compilers.extend(findAllFilesInPATH("clang-[0-9]"))
compilers.extend(findAllFilesInPATH("clang-[0-9].[0-9]")) compilers.extend(findAllFilesInPATH("clang-[0-9].[0-9]"))
compilers.extend(findAllFilesInPATH("*g++*")) compilers.extend(findAllFilesInPATH("*g++*"))
compilers.extend(findAllFilesInPATH("*gcc*")) compilers.extend(findAllFilesInPATH("*gcc*"))