зеркало из https://github.com/microsoft/lisa.git
CH_test_tool: Mark ignored subtests as SKIPPED
This commit is contained in:
Родитель
2a32caa106
Коммит
369d68373d
|
@ -241,6 +241,7 @@ class CloudHypervisorTests(Tool):
|
|||
"started",
|
||||
"ok",
|
||||
"failed",
|
||||
"ignored",
|
||||
]:
|
||||
continue
|
||||
|
||||
|
@ -248,7 +249,12 @@ class CloudHypervisorTests(Tool):
|
|||
started_tests.add(result["name"])
|
||||
continue
|
||||
|
||||
status = TestStatus.PASSED if result["event"] == "ok" else TestStatus.FAILED
|
||||
if result["event"] == "ok":
|
||||
status = TestStatus.PASSED
|
||||
elif result["event"] == "failed":
|
||||
status = TestStatus.FAILED
|
||||
elif result["event"] == "ignored":
|
||||
status = TestStatus.SKIPPED
|
||||
results.append(
|
||||
CloudHypervisorTestResult(
|
||||
name=result["name"],
|
||||
|
|
Загрузка…
Ссылка в новой задаче