[analyzer]Fix typo, unbreak static analyzer BuildBot (at least

partially).

(Addresses a regression from r162790.)

llvm-svn: 162864
This commit is contained in:
Anna Zaks 2012-08-29 21:22:40 +00:00
parent 5d4ec36323
commit f329823dc0
1 changed files with 4 additions and 1 deletions

View File

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