Lines Matching refs:SBOutputDir
275 def runScanBuild(Dir, SBOutputDir, PBuildLogFile): argument
289 SBOptions += "-plist-html -o '%s' " % SBOutputDir
343 def runAnalyzePreprocessed(Dir, SBOutputDir, Mode): argument
363 PlistPath = os.path.join(Dir, SBOutputDir, "date")
400 def getBuildLogPath(SBOutputDir): argument
401 return os.path.join(SBOutputDir, LogFolderName, BuildLogName)
403 def removeLogFile(SBOutputDir): argument
404 BuildLogPath = getBuildLogPath(SBOutputDir)
412 def buildProject(Dir, SBOutputDir, ProjectBuildMode, IsReferenceBuild): argument
415 BuildLogPath = getBuildLogPath(SBOutputDir)
417 print "Output directory: %s" %(SBOutputDir, )
419 removeLogFile(SBOutputDir)
422 if (os.path.exists(SBOutputDir)) :
423 RmCommand = "rm -r '%s'" % SBOutputDir
427 assert(not os.path.exists(SBOutputDir))
428 os.makedirs(os.path.join(SBOutputDir, LogFolderName))
438 runScanBuild(Dir, SBOutputDir, PBuildLogFile)
440 runAnalyzePreprocessed(Dir, SBOutputDir, ProjectBuildMode)
446 for (DirPath, Dirnames, Filenames) in os.walk(SBOutputDir):
469 def CleanUpEmptyPlists(SBOutputDir): argument
470 for F in glob.glob(SBOutputDir + "/*/*.plist"):
471 P = os.path.join(SBOutputDir, F)
482 def checkBuild(SBOutputDir): argument
484 Failures = glob.glob(SBOutputDir + "/*/failures/*.stderr.txt")
487 CleanUpEmptyPlists(SBOutputDir)
488 Plists = glob.glob(SBOutputDir + "/*/*.plist")
494 SummaryPath = os.path.join(SBOutputDir, LogFolderName, FailuresSummaryFileName)
595 def cleanupReferenceResults(SBOutputDir): argument
600 for F in glob.glob("%s/*/*.%s" % (SBOutputDir, E)):
601 P = os.path.join(SBOutputDir, F)
606 removeLogFile(SBOutputDir)
649 SBOutputDir = os.path.join(Dir, RelOutputDir)
651 buildProject(Dir, SBOutputDir, ProjectBuildMode, IsReferenceBuild)
653 checkBuild(SBOutputDir)
658 cleanupReferenceResults(SBOutputDir)