本文整理汇总了Python中RunApp.RunApp.checkRunnable方法的典型用法代码示例。如果您正苦于以下问题:Python RunApp.checkRunnable方法的具体用法?Python RunApp.checkRunnable怎么用?Python RunApp.checkRunnable使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RunApp.RunApp
的用法示例。
在下文中一共展示了RunApp.checkRunnable方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: checkRunnable
# 需要导入模块: from RunApp import RunApp [as 别名]
# 或者: from RunApp.RunApp import checkRunnable [as 别名]
def checkRunnable(self, options):
if options.enable_recover:
self.addCaveats('PetscJacTester RECOVER')
self.setStatus(self.bucket_skip.status, self.bucket_skip)
return False
return RunApp.checkRunnable(self, options)
示例2: checkRunnable
# 需要导入模块: from RunApp import RunApp [as 别名]
# 或者: from RunApp.RunApp import checkRunnable [as 别名]
def checkRunnable(self, options):
if options.enable_recover:
self.addCaveats('type=RunException')
self.setStatus(self.skip)
return False
return RunApp.checkRunnable(self, options)
示例3: checkRunnable
# 需要导入模块: from RunApp import RunApp [as 别名]
# 或者: from RunApp.RunApp import checkRunnable [as 别名]
def checkRunnable(self, options):
if options.enable_recover:
reason = 'skipped (RunException RECOVER)'
return (False, reason)
return RunApp.checkRunnable(self, options)
示例4: checkRunnable
# 需要导入模块: from RunApp import RunApp [as 别名]
# 或者: from RunApp.RunApp import checkRunnable [as 别名]
def checkRunnable(self, options):
if options.enable_recover:
reason = "skipped (PetscJacTester RECOVER)"
return (False, reason)
return RunApp.checkRunnable(self, options)