Lines Matching refs:Dir
181 def runCleanupScript(Dir, PBuildLogFile): argument
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): argument
202 BuildScriptPath = os.path.join(Dir, BuildScript)
221 check_call(SBCommand, cwd = Dir, stderr=PBuildLogFile,
244 def runAnalyzePreprocessed(Dir, SBOutputDir, Mode): argument
245 if os.path.exists(os.path.join(Dir, BuildScript)):
256 PlistPath = os.path.join(Dir, SBOutputDir, "date")
260 for FullFileName in glob.glob(Dir + "/*"):
273 Command = CmdPrefix + OutputOption + os.path.join(Dir, FileName)
278 check_call(Command, cwd = Dir, stderr=LogFile,
293 def buildProject(Dir, SBOutputDir, ProjectBuildMode, IsReferenceBuild): argument
321 runCleanupScript(Dir, PBuildLogFile)
324 runScanBuild(Dir, SBOutputDir, PBuildLogFile)
326 runAnalyzePreprocessed(Dir, SBOutputDir, ProjectBuildMode)
329 runCleanupScript(Dir, PBuildLogFile)
400 def runCmpResults(Dir): argument
403 RefDir = os.path.join(Dir, SBOutputDirReferencePrefix + SBOutputDirName)
404 NewDir = os.path.join(Dir, SBOutputDirName)
480 def testProject(ID, ProjectBuildMode, IsReferenceBuild=False, Dir=None): argument
485 if Dir is None :
486 Dir = getProjectDir(ID)
488 print " Build directory: %s." % (Dir,)
492 SBOutputDir = os.path.join(Dir, RelOutputDir)
494 buildProject(Dir, SBOutputDir, ProjectBuildMode, IsReferenceBuild)
499 runCmpResults(Dir)