已关闭
[Bug-Report|缺陷反馈]: ut无法本地生成cov代码覆盖率报告,因为脚本没有权限 #402
daiwei18创建于  1月19日关闭于  2月6日
daiwei18
daiwei18
1月19日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

执行
bash build.sh -u --opapi --ops=index_fill_d --soc=ascend950 --cov

会报错,generate_cpp_cov.sh权限不足

Environment / 环境信息 (Mandatory / 必填)

950

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

ut的代码覆盖率测试

Describe the expected behavior / 预期结果 (Mandatory / 必填)

执行成功

Special notes for this issue/备注 (Optional / 选填)

likedislike
jiangjiawei成员
1月20日 评论:

感谢您的反馈,正在处理中。

likedislike
liuyufan
liuyufan成员
1月21日 评论:

您好,感谢您提交的issue;这是由于这个脚本在本地没有被赋予权限导致的,执行chmod +x ../../../scripts/util/generate_cpp_cov.sh后,再重新执行bash build.sh -u --opapi --ops=index_fill_d --soc=ascend950 --cov即可。

likedislike
张喻翔张喻翔
1月21日 将 liuyufan0725 设为负责人
jiangjiawei成员
1月24日 评论:

请问您还有问题嘛,如果还有请继续反馈,没有的话请关闭下issue~

likedislike
liuyufanliuyufan成员
2月3日 关联了pull request:fix cov permission
CANN-robotCANN-robot成员
2月6日 关闭了 issue
CANN-robotCANN-robot成员
3月20日 添加了label:resolved