]> granicus.if.org Git - clang/commitdiff
[analyzer]Fix typo, unbreak static analyzer BuildBot (at least
authorAnna Zaks <ganna@apple.com>
Wed, 29 Aug 2012 21:22:40 +0000 (21:22 +0000)
committerAnna Zaks <ganna@apple.com>
Wed, 29 Aug 2012 21:22:40 +0000 (21:22 +0000)
partially).

(Addresses a regression from r162790.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162864 91177308-0d34-0410-b5e6-96231b3b80d8

utils/analyzer/SATestBuild.py

index 9c99d0d0fb31c22e0d05a2ca90f4ec7b51834d06..27a18673a5bba31919dde27f922d04b6ca76ee3b 100755 (executable)
@@ -213,7 +213,7 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
             # If using 'make', auto imply a -jX argument
             # to speed up analysis.  xcodebuild will
             # automatically use the maximum number of cores.
-            if Command.startsWith("make "):
+            if Command.startswith("make "):
                 Command += "-j" + Jobs
             SBCommand = SBPrefix + Command
             if Verbose == 1:        
@@ -404,6 +404,9 @@ def runCmpResults(Dir):
     RefList = glob.glob(RefDir + "/*") 
     NewList = glob.glob(NewDir + "/*")
     
+    print "  Comparing Results: %s" % (os.path.join(RefDir, LogFolderName))
+    print "  Comparing Results: %s" % (os.path.join(NewDir, LogFolderName))
+
     # Log folders are also located in the results dir, so ignore them. 
     RefList.remove(os.path.join(RefDir, LogFolderName))
     NewList.remove(os.path.join(NewDir, LogFolderName))