mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-23 07:20:44 +00:00
!303 创建空结果xml时,设置模块的默认结果为Unavailable
Merge pull request !303 from liguangjie/master
This commit is contained in:
commit
81022e4750
@ -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