本文整理汇总了Python中raptor_tests.SmokeTest.missing方法的典型用法代码示例。如果您正苦于以下问题:Python SmokeTest.missing方法的具体用法?Python SmokeTest.missing怎么用?Python SmokeTest.missing使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类raptor_tests.SmokeTest
的用法示例。
在下文中一共展示了SmokeTest.missing方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: run
# 需要导入模块: from raptor_tests import SmokeTest [as 别名]
# 或者: from raptor_tests.SmokeTest import missing [as 别名]
def run():
result = SmokeTest.PASS
t = SmokeTest()
t.id = "0018a"
t.name = "temclean"
t.command = "sbs -b smoke_suite/test_resources/tem/bldclean.inf -c armv5 CLEAN"
t.targets = [
"$(EPOCROOT)/epoc32/raptor_smoketest_tem_succeeded",
"$(EPOCROOT)/epoc32/raptor_smoketest_tem_failed"
]
t.missing = 2
t.warnings = 1
t.returncode = 0
t.run()
if t.result == SmokeTest.FAIL:
result = SmokeTest.FAIL
t.id = "0018b"
t.name = "temtest"
t.command = "sbs -b smoke_suite/test_resources/tem/bld.inf -c armv5"
t.targets = [
"$(EPOCROOT)/epoc32/raptor_smoketest_tem_succeeded"
]
t.warnings = 2
t.missing = 0
t.returncode = 1
t.mustmatch = [ "repeated call to TEM with same values.* Stop\." ]
t.run()
if t.result == SmokeTest.FAIL:
result = SmokeTest.FAIL
t.id = "0018c"
t.name = "temclean2"
t.command = "sbs -b smoke_suite/test_resources/tem/bldclean.inf -c armv5 CLEAN"
t.targets = [
"$(EPOCROOT)/epoc32/raptor_smoketest_tem_succeeded",
"$(EPOCROOT)/epoc32/raptor_smoketest_tem_failed"
]
t.missing = 2
t.warnings = 1
t.returncode = 0
t.mustmatch = []
t.run()
if t.result == SmokeTest.FAIL:
result = SmokeTest.FAIL
t.id = "0018d"
t.name = "badtem"
t.command = "sbs -b smoke_suite/test_resources/tem/bad_bld.inf -c armv5"
t.targets = [
"$(EPOCROOT)/epoc32/raptor_smoketest_tem_failed"
]
t.warnings = 3
t.missing = 0
t.returncode = 1
t.run()
if t.result == SmokeTest.FAIL:
result = SmokeTest.FAIL
t.id = "0018e"
t.name = "temclean3"
t.command = "sbs -b smoke_suite/test_resources/tem/bldclean.inf -c armv5 CLEAN"
t.targets = [
"$(EPOCROOT)/epoc32/raptor_smoketest_tem_succeeded",
"$(EPOCROOT)/epoc32/raptor_smoketest_tem_failed"
]
t.missing = 2
t.warnings = 1
t.returncode = 0
t.run()
if t.result == SmokeTest.FAIL:
result = SmokeTest.FAIL
t = CheckWhatSmokeTest()
t.id = "0018f"
t.name = "temwhat"
t.command = "sbs -b smoke_suite/test_resources/simple_extension/bld.inf --what"
t.output_expected_only_once = True
t.stdout = [
# exports
'$(EPOCROOT)/epoc32/tools/makefile_templates/sbsv2test/clean.mk',
'$(EPOCROOT)/epoc32/tools/makefile_templates/sbsv2test/clean.meta',
'$(EPOCROOT)/epoc32/tools/makefile_templates/sbsv2test/build.mk',
'$(EPOCROOT)/epoc32/tools/makefile_templates/sbsv2test/build.meta',
# release tree built
'$(EPOCROOT)/epoc32/release/armv5/udeb/simple_extension.txt',
'$(EPOCROOT)/epoc32/release/armv5/urel/simple_extension.txt',
'$(EPOCROOT)/epoc32/release/winscw/udeb/simple_extension.txt',
'$(EPOCROOT)/epoc32/release/winscw/urel/simple_extension.txt'
]
t.run()
if t.result == SmokeTest.FAIL:
result = SmokeTest.FAIL
#.........这里部分代码省略.........