[analyzer] [tests] Pass clang executable path to prefix-less executor scripts.
authorGeorge Karpenkov <ekarpenkov@apple.com>
Mon, 2 Jul 2018 17:10:40 +0000 (17:10 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Mon, 2 Jul 2018 17:10:40 +0000 (17:10 +0000)
llvm-svn: 336124

clang/utils/analyzer/SATestBuild.py

index 882c5ce..4da025a 100755 (executable)
@@ -303,6 +303,7 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
             if Command == NoPrefixCmd:
                 SBPrefix = ""
                 ExtraEnv['OUTPUT'] = SBOutputDir
+                ExtraEnv['CC'] = Clang
                 continue
 
             # If using 'make', auto imply a -jX argument