Lines Matching refs:PBuildLogFile
205 def runCleanupScript(Dir, PBuildLogFile): argument
208 runScript(ScriptPath, PBuildLogFile, Cwd)
211 def runDownloadScript(Dir, PBuildLogFile): argument
213 runScript(ScriptPath, PBuildLogFile, Dir)
216 def runScript(ScriptPath, PBuildLogFile, Cwd): argument
222 stderr=PBuildLogFile,
223 stdout=PBuildLogFile,
225 check_call("'%s'" % ScriptPath, cwd = Cwd, stderr=PBuildLogFile,
226 stdout=PBuildLogFile,
230 PBuildLogFile.name)
234 def downloadAndPatch(Dir, PBuildLogFile): argument
240 runDownloadScript(Dir, PBuildLogFile)
253 applyPatch(Dir, PBuildLogFile)
255 def applyPatch(Dir, PBuildLogFile): argument
266 stderr=PBuildLogFile,
267 stdout=PBuildLogFile,
270 print "Error: Patch failed. See %s for details." % (PBuildLogFile.name)
275 def runScanBuild(Dir, SBOutputDir, PBuildLogFile): argument
311 check_call(SBCommand, cwd = SBCwd, stderr=PBuildLogFile,
312 stdout=PBuildLogFile,
315 print "Error: scan-build failed. See ",PBuildLogFile.name,\
431 PBuildLogFile = open(BuildLogPath, "wb+")
436 downloadAndPatch(Dir, PBuildLogFile)
437 runCleanupScript(Dir, PBuildLogFile)
438 runScanBuild(Dir, SBOutputDir, PBuildLogFile)
443 runCleanupScript(Dir, PBuildLogFile)
462 PBuildLogFile.close()