Home | History | Annotate | Download | only in analyzer

Lines Matching refs:Dir

181 def runCleanupScript(Dir, PBuildLogFile):
182 ScriptPath = os.path.join(Dir, CleanupScript)
187 check_call("chmod +x %s" % ScriptPath, cwd = Dir,
191 check_call(ScriptPath, cwd = Dir, stderr=PBuildLogFile,
201 def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
202 BuildScriptPath = os.path.join(Dir, BuildScript)
223 check_call(SBCommand, cwd = Dir, stderr=PBuildLogFile,
246 def runAnalyzePreprocessed(Dir, SBOutputDir, Mode):
247 if os.path.exists(os.path.join(Dir, BuildScript)):
258 PlistPath = os.path.join(Dir, SBOutputDir, "date")
262 for FullFileName in glob.glob(Dir + "/*"):
275 Command = CmdPrefix + OutputOption + os.path.join(Dir, FileName)
280 check_call(Command, cwd = Dir, stderr=LogFile,
295 def buildProject(Dir, SBOutputDir, ProjectBuildMode, IsReferenceBuild):
323 runCleanupScript(Dir, PBuildLogFile)
326 runScanBuild(Dir, SBOutputDir, PBuildLogFile)
328 runAnalyzePreprocessed(Dir, SBOutputDir, ProjectBuildMode)
331 runCleanupScript(Dir, PBuildLogFile)
402 def runCmpResults(Dir):
405 RefDir = os.path.join(Dir, SBOutputDirReferencePrefix + SBOutputDirName)
406 NewDir = os.path.join(Dir, SBOutputDirName)
412 # Log folders are also located in the results dir, so ignore them.
482 def testProject(ID, ProjectBuildMode, IsReferenceBuild=False, Dir=None):
487 if Dir is None :
488 Dir = getProjectDir(ID)
490 print " Build directory: %s." % (Dir,)
494 SBOutputDir = os.path.join(Dir, RelOutputDir)
496 buildProject(Dir, SBOutputDir, ProjectBuildMode, IsReferenceBuild)
501 runCmpResults(Dir)