检查结果xml是否存在,不存在则创建空报告

Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
deveco_xdevice 2024-11-04 14:12:10 +08:00
parent b74b1e6b84
commit ec4a406c78

View File

@ -135,6 +135,8 @@ class CppTestDriver(IDriver):
file_name.flush()
LOG.info("-------------finally-----------------")
self._after_command(kits, request)
self.result = check_result_report(
request.config.report_path, self.result, self.error_message, request=request)
def _get_execute_command(self, bin_file):
if self.config.device.get("device_kernel") == \