]> granicus.if.org Git - clang/commitdiff
[analyzer] Always use ccc-analyzer when running scan-build on buildbot
authorAnna Zaks <ganna@apple.com>
Fri, 31 May 2013 02:31:09 +0000 (02:31 +0000)
committerAnna Zaks <ganna@apple.com>
Fri, 31 May 2013 02:31:09 +0000 (02:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182982 91177308-0d34-0410-b5e6-96231b3b80d8

utils/analyzer/SATestBuild.py

index e119155a9b465bb8973ba10a23573a9642e55617..8e09a7adab4d9e92d8c06b82935a3a291bd6f2b9 100755 (executable)
@@ -208,6 +208,9 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
     SBOptions += "-plist-html -o " + SBOutputDir + " "
     SBOptions += "-enable-checker " + Checkers + " "  
     SBOptions += "--keep-empty "
+    # Always use ccc-analyze to ensure that we can locate the failures 
+    # directory.
+    SBOptions += "--override-compiler "
     try:
         SBCommandFile = open(BuildScriptPath, "r")
         SBPrefix = "scan-build " + SBOptions + " "