Lines Matching refs:Dir
205 def runCleanupScript(Dir, PBuildLogFile): argument
206 Cwd = os.path.join(Dir, PatchedSourceDirName)
207 ScriptPath = os.path.join(Dir, CleanupScript)
211 def runDownloadScript(Dir, PBuildLogFile): argument
212 ScriptPath = os.path.join(Dir, DownloadScript)
213 runScript(ScriptPath, PBuildLogFile, Dir)
234 def downloadAndPatch(Dir, PBuildLogFile): argument
235 CachedSourceDirPath = os.path.join(Dir, CachedSourceDirName)
240 runDownloadScript(Dir, PBuildLogFile)
245 PatchedSourceDirPath = os.path.join(Dir, PatchedSourceDirName)
253 applyPatch(Dir, PBuildLogFile)
255 def applyPatch(Dir, PBuildLogFile): argument
256 PatchfilePath = os.path.join(Dir, PatchfileName)
257 PatchedSourceDirPath = os.path.join(Dir, PatchedSourceDirName)
275 def runScanBuild(Dir, SBOutputDir, PBuildLogFile): argument
276 BuildScriptPath = os.path.join(Dir, BuildScript)
286 SBCwd = os.path.join(Dir, PatchedSourceDirName)
343 def runAnalyzePreprocessed(Dir, SBOutputDir, Mode): argument
344 if os.path.exists(os.path.join(Dir, BuildScript)):
363 PlistPath = os.path.join(Dir, SBOutputDir, "date")
367 for FullFileName in glob.glob(Dir + "/*"):
385 check_call(Command, cwd = Dir, stderr=LogFile,
400 def buildProject(Dir, SBOutputDir, ProjectBuildMode, IsReferenceBuild): argument
429 downloadAndPatch(Dir, PBuildLogFile)
430 runCleanupScript(Dir, PBuildLogFile)
431 runScanBuild(Dir, SBOutputDir, PBuildLogFile)
433 runAnalyzePreprocessed(Dir, SBOutputDir, ProjectBuildMode)
436 runCleanupScript(Dir, PBuildLogFile)
445 PathPrefix = Dir
447 PathPrefix = os.path.join(Dir, PatchedSourceDirName)
527 def runCmpResults(Dir, Strictness = 0): argument
530 RefDir = os.path.join(Dir, SBOutputDirReferencePrefix + SBOutputDirName)
531 NewDir = os.path.join(Dir, SBOutputDirName)
566 PatchedSourceDirPath = os.path.join(Dir, PatchedSourceDirName)
617 def testProject(ID, ProjectBuildMode, IsReferenceBuild=False, Dir=None, Strictness = 0): argument
622 if Dir is None :
623 Dir = getProjectDir(ID)
625 print " Build directory: %s." % (Dir,)
629 SBOutputDir = os.path.join(Dir, RelOutputDir)
631 buildProject(Dir, SBOutputDir, ProjectBuildMode, IsReferenceBuild)
636 runCmpResults(Dir, Strictness)