当前位置: 首页>>代码示例>>Python>>正文


Python buildstep.LogLineObserver类代码示例

本文整理汇总了Python中buildbot.process.buildstep.LogLineObserver的典型用法代码示例。如果您正苦于以下问题:Python LogLineObserver类的具体用法?Python LogLineObserver怎么用?Python LogLineObserver使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了LogLineObserver类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

 def __init__(self, **kwargs):
     LogLineObserver.__init__(self, **kwargs)   # always upcall!
     self.numTotal = 0
     self.numPassed = 0
     self.numFailed = 0
     self.numSkipped = 0
     self.failed = []
开发者ID:groeck,项目名称:linux-build-test,代码行数:7,代码来源:shellcommands.py

示例2: __init__

 def __init__(self, **kwargs):
     ShellCommand.__init__(self, **kwargs)
     LogLineObserver.__init__(self)
     self.addLogObserver("stdio", self)
     self.metrics = {"run": 0, "Failures": 0, "Errors": 0, "Incomplete": 0, "Skipped": 0, "Time elapsed": 0}
     self.progressMetrics += tuple(self.metrics.keys())
     self.phpError = False
开发者ID:Erebot,项目名称:Erebot_buildbot,代码行数:7,代码来源:steps.py

示例3: __init__

 def __init__(self):
     LogLineObserver.__init__(self)
     self.in_fail_output = False
     self.re_fail = [
         (re.compile('^(FAIL:) (.*)$'), 1),
         (re.compile('^(ERROR:) (.*)$'), 1)
     ]
     self.re_startendtest = re.compile('^------------------------------|^=========================')
开发者ID:jstsuncode,项目名称:buildbot-unittest,代码行数:8,代码来源:buildbotunittest.py

示例4: __init__

 def __init__(self, textLimit=5, testNameLimit=16):
     self.textLimit = textLimit
     self.testNameLimit = testNameLimit
     self.numTests = 0
     self.testFail = None
     self.failList = []
     self.warnList = []
     LogLineObserver.__init__(self)
开发者ID:gldnspud,项目名称:buildbot,代码行数:8,代码来源:mtrlogobserver.py

示例5: __init__

  def __init__(self, maxLogs=None):
    LogLineObserver.__init__(self)
    self.resultCounts = {}
    self.maxLogs = maxLogs
    self.numLogs = 0

    # If non-null, a tuple of the last test code and name.
    self.lastTestResult = None

    # If non-null, a list of lines in the current log.
    self.activeVerboseLog = None
开发者ID:DanAlbert,项目名称:zorg,代码行数:11,代码来源:LitTestCommand.py

示例6: __init__

  def __init__(self, maxLogs=None, parseSummaryOnly=False):
    LogLineObserver.__init__(self)
    self.resultCounts = {}
    self.maxLogs = maxLogs
    self.numLogs = 0

    # If non-null, a tuple of the last test code and name.
    self.lastTestResult = None

    # If non-null, a list of lines in the current log.
    self.activeVerboseLog = None
    # Current line will be parsed as result steps only if parserStarted is True
    self.parserStarted = not parseSummaryOnly
    self.simplifiedLog = False
开发者ID:CristinaCristescu,项目名称:zorg,代码行数:14,代码来源:LitTestCommand.py

示例7: __init__

 def __init__(self, build):
     LogLineObserver.__init__(self)
     self.target_build = build
开发者ID:opencv-infrastructure,项目名称:opencv-master-config,代码行数:3,代码来源:buildprops_observer.py

示例8: __init__

 def __init__(self, re):
     self._line_re = re
     LogLineObserver.__init__(self)
开发者ID:russell,项目名称:bb-pytest,代码行数:3,代码来源:step.py

示例9: __init__

 def __init__(self, buildstep):
     LogLineObserver.__init__(self)
     self.buildstep = buildstep
开发者ID:OpenXT-Extras,项目名称:build-machines,代码行数:3,代码来源:xcbuild.py

示例10: __init__

 def __init__(self):
     LogLineObserver.__init__(self)
     self.resultCounts = {}
     self.currentLines = ""
     self.currentFailed = False
     self.anyFailed = False
开发者ID:chapuni,项目名称:zorg,代码行数:6,代码来源:DejaGNUCommand.py

示例11: __init__

 def __init__(self, maxLogs=None):
     LogLineObserver.__init__(self)
     self.timingMet = True
开发者ID:m-labs,项目名称:buildbot-config,代码行数:3,代码来源:xilinx.py

示例12: __init__

 def __init__(self, logwarnings, logerrors, **kwargs):
     LogLineObserver.__init__(self, **kwargs)
     self.logwarnings = logwarnings
     self.logerrors = logerrors
     self.stdoutParser.delimiter = "\r\n"
     self.stderrParser.delimiter = "\r\n"
开发者ID:Fieldbyte,项目名称:buildbot,代码行数:6,代码来源:vstudio.py

示例13: __init__

 def __init__(self):
     LogLineObserver.__init__(self)
     self.testName = ""
开发者ID:opencv-infrastructure,项目名称:opencv-master-config,代码行数:3,代码来源:command_test_java.py

示例14: __init__

 def __init__(self, **kwargs):
     LogLineObserver.__init__(self, **kwargs)
     self.success = True
开发者ID:LePtitLilou,项目名称:buildbot,代码行数:3,代码来源:steps.py

示例15: __init__

 def __init__(self, step):
     self.step = step
     self.testOut = {}
     self.inTest = None
     LogLineObserver.__init__(self)
开发者ID:cdent,项目名称:st-clients,代码行数:5,代码来源:buildstep.py


注:本文中的buildbot.process.buildstep.LogLineObserver类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。