Lines Matching refs:Dir
110 def runCleanupScript(Dir, PBuildLogFile): argument
111 ScriptPath = os.path.join(Dir, CleanupScript)
116 check_call("chmod +x %s" % ScriptPath, cwd = Dir,
120 check_call(ScriptPath, cwd = Dir, stderr=PBuildLogFile,
130 def runScanBuild(Dir, SBOutputDir, PBuildLogFile): argument
131 BuildScriptPath = os.path.join(Dir, BuildScript)
144 check_call(SBCommand, cwd = Dir, stderr=PBuildLogFile,
167 def runAnalyzePreprocessed(Dir, SBOutputDir): argument
168 if os.path.exists(os.path.join(Dir, BuildScript)):
176 PlistPath = os.path.join(Dir, SBOutputDir, "date")
180 for FullFileName in glob.glob(Dir + "/*"):
193 Command = CmdPrefix + OutputOption + os.path.join(Dir, FileName)
198 check_call(Command, cwd = Dir, stderr=LogFile,
213 def buildProject(Dir, SBOutputDir, IsScanBuild): argument
241 runCleanupScript(Dir, PBuildLogFile)
244 runScanBuild(Dir, SBOutputDir, PBuildLogFile)
246 runAnalyzePreprocessed(Dir, SBOutputDir)
249 runCleanupScript(Dir, PBuildLogFile)
320 def runCmpResults(Dir): argument
323 RefDir = os.path.join(Dir, SBOutputDirReferencePrefix + SBOutputDirName)
324 NewDir = os.path.join(Dir, SBOutputDirName)
400 def testProject(ID, IsScanBuild, Dir=None): argument
405 if Dir is None :
406 Dir = getProjectDir(ID)
408 print " Build directory: %s." % (Dir,)
412 SBOutputDir = os.path.join(Dir, RelOutputDir)
414 buildProject(Dir, SBOutputDir, IsScanBuild)
419 runCmpResults(Dir)