Merged
for test_exclude_kirin #6674
for test_exclude_kirin #6674
Merged
zengjuanAdd on Oct 12
zengjuan
zengjuanCollaborators
Oct 12

描述

关联的Issue

测试

文档更新

类型标签

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for zengjuan's contribution.)
zengjuanzengjuanCollaborators
Oct 12 Created pull request, commit fdc597c8
atomgit-bot
atomgit-bot
Oct 12 Comments:

变更摘要

本次改动集中在构建脚本 build.sh,为其新增了一个命令行选项 --test_exclude_kirin,用于触发"构建并运行排除 kirin 目标之外的全部单元测试"。改动在参数的声明、帮助信息展示、参数组合校验以及选项解析等多个环节同步注册该新选项,使其与已有的 --basic_test_* 系列测试选项保持一致的接入方式。

主要改动

  • 新增长选项注册:在 SUPPORTED_LONG_OPTS 中加入 test_exclude_kirin,使脚本支持解析该参数。
  • 补充帮助信息:在 usage() 的两处帮助输出中均新增 --test_exclude_kirin 及其说明"Build and run all unit tests excluding kirin targets"。
  • 参数组合校验适配:在 check_help_combinations() 中新增 --test_exclude_kirin 分支,将其 test_part 设为 test_exclude_kirin。
  • 帮助参数联动适配:在 check_param_with_help() 中新增 --test_exclude_kirin 分支,使其在带 --help 时归入 test 帮助类别。
  • 选项解析落地:在 set_options() 中新增 --test_exclude_kirin 分支,设置 TEST_PART="test_exclude_kirin" 并调用 check_param_test_part 后 shift,从而实际驱动排除 kirin 目标的测试流程。
likedislike
Incorrect?
atomgit-bot
atomgit-bot
Oct 12 Comments:

代码审查

✅ 未发现问题

likedislike
Incorrect?
CANN-robotCANN-robotCollaborators
Oct 12 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Oct 12 Comments:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-cann/asc-devkit ✅ yukangchen, 诸葛洵 (2/2) ✅ 诸葛洵 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robot
CANN-robotCollaborators
Oct 12 Comments:

CLA Signature Pass

zengjuan, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robotCollaborators
Oct 12 Set zhanghao_0689,suqwe,wulinyu,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,XuebinYang,sjtulxh,bianque,houyuyang,Lycheeeee,YANXI_ZHAO,chentianyu19,shi_nanxiang,wuyang_hw,jiangxinyu3,ascendhjh,hujiawen_kaven,wangxiaozhi,DragonBornHD84,louyuxuan,hyolee,yukangchen as approver
CANN-robotCANN-robotCollaborators
Oct 12 Set zhanghao_0689,suqwe,wulinyu,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,XuebinYang,sjtulxh,bianque,houyuyang,Lycheeeee,YANXI_ZHAO,chentianyu19,shi_nanxiang,wuyang_hw,jiangxinyu3,ascendhjh,hujiawen_kaven,wangxiaozhi,DragonBornHD84,louyuxuan,hyolee,yukangchen as approver
zengjuan
zengjuanCollaborators
Oct 12 Comments:

/compile

likedislike
zengjuanzengjuanCollaborators
Oct 12 Pre merge succeeded (commit_id: 3e4e8f02f4d83faf64d6eb7dd8dfe557a6b47dc7)
CANN-robot
CANN-robotCollaborators
Oct 12 Comments:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robotCollaborators
Oct 12 Added label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Oct 12 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Oct 12 Added label: ci-pipeline-passed
zhugexun_sjtu
zhugexun_sjtuCollaborators
Oct 12 Comments:

/lgtm
/approve

likedislike
CANN-robotCANN-robotCollaborators
Oct 12 Added label: approved
yukangchen
yukangchenCollaborators
Oct 12 Comments:

/lgtm

likedislike
CANN-robotCANN-robotCollaborators
Oct 12 Added label: lgtm
CANN-robotCANN-robotCollaborators
Oct 12 Merged pull request