mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-27 01:20:53 +00:00
创建空结果xml时,设置模块的默认结果为Unavailable
Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
parent
8a33da5e28
commit
e7fbf38995
@ -445,8 +445,8 @@ def check_result_report(report_root_dir, report_file, error_message="",
|
||||
suite_result.stacktrace = error_message
|
||||
if module_name:
|
||||
suite_name = module_name
|
||||
# 设置测试结果,默认结果是Blocked
|
||||
result_kind = kwargs.get("result_kind", CaseResult.blocked)
|
||||
# 设置测试结果,默认结果是Unavailable
|
||||
result_kind = kwargs.get("result_kind", CaseResult.unavailable)
|
||||
suite_reporter = SuiteReporter(
|
||||
[(suite_result, [])], suite_name, result_dir,
|
||||
modulename=module_name, message=error_message, result_kind=result_kind)
|
||||
|
Loading…
Reference in New Issue
Block a user