CH_test_tool: Mark ignored subtests as SKIPPED

This commit is contained in:
Purna Pavan Chandra Aekkaladevi 2023-01-05 23:14:55 +05:30 коммит произвёл Purna Pavan Chandra
Родитель 2a32caa106
Коммит 369d68373d
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -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"],