| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
test: 补齐 base/common dump/error_tracking/file_constant_utils 模块 UT 覆盖率 Co-authored-by: wuzheng-hw<wuzheng14@huawei.com> # message auto-generated for no-merge-commit merge: !4059 merge cov_718 into develop test: 补齐 base/common dump/error_tracking/file_constant_utils 模块 UT 覆盖率 Created-by: wuzheng-hw Commit-by: wuzheng-hw Merged-by: cann-robot Description: # Pull Request ## 描述 补齐 base/common 目录下 dump、error_registry、error_tracking、file_constant_utils 模块的 UT 测试用例覆盖率。新增 28 个测试用例,覆盖此前未覆盖的错误路径、边界条件和完整未覆盖函数。 ## 变更类型 - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新 - [ ] ♻️ 重构 - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 - [x] 🧪 测试用例补充 ## 变更文件 | 文件 | 变更内容 | |------|----------| | dump_stub.h/cc | 新增 SetMockDumpPath/GetMockDumpPath 支持 acldumpGetPath mock | | CMakeLists.txt | multiparts target 新增 tests/depends 包含路径 | | error_tracking_unittest.cc | +2 用例:not-found 分支、nullptr callback | | global_dumper_unittest.cc | +1 用例:OnGlobalDumperSwitch nullptr | | dump_manager_unittest.cc | +3 用例:dump_list+op_switch、pid/dev_id、acldumpGetPath | | dump_properties_unittest.cc | +10 用例:property value、IsNeedDump、debug mode、mmRealPath/mmAccess2 | | dump_op_unittest.cc | +6 用例:aclrtGetDevice/Malloc/kernelLaunch 失败、tensor size 失败、model name 失败 | | dump_exception_unittest.cc | +2 用例:MutableOpDescInfo、DumpDevMem size=0 | | file_constant_unittest.cc | +6 用例:from_json、GetFilePath、ConvertFileConst/Const、ChangeFilePath | ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测(编译通过 + 全部用例 PASSED) - [x] 我在标题中使用了合适的类型标签 - [x] 新增用例未破坏已有测试(102+54=156 个测试全部 PASSED) See merge request: cann/ge!4059 | 1 个月前 | |
fix: precommit整改 Co-authored-by: yelongjian<yelongjian1@huawei.com> # message auto-generated for no-merge-commit merge: !3726 merge dev-precommit into develop fix: precommit整改 Created-by: yelongjian Commit-by: yelongjian Merged-by: cann-robot Description: # Pull Request ## 描述 precommit整改 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [x] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> ## 如何测试 描述测试此变更的步骤和前提条件: 1.NA ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如: feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/ge!3726 | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 1 个月前 |