This commit is contained in:
@@ -368,6 +368,7 @@ python tests\scripts\check_source_size.py . --warn-file-lines 1500 --max-file-li
|
||||
- Windows 双击自动运行脚本可命名为 `run_case.bat`;脚本应把结果写入示例目录下的 `results` 子目录,并支持自动检查失败码。
|
||||
|
||||
新增基准测试案例应放在 `examples/` 下,并为每个案例建立独立文件夹;旧兼容目录不作为新测试入口。
|
||||
V4.8 起,`examples_layout` CTest 会检查 `examples/` 一级目录:有文档的目录必须包含至少一个 `.inp`,有 `.inp` 的目录必须包含 `run_case.bat`。
|
||||
|
||||
示例目录不应提交:
|
||||
|
||||
@@ -389,7 +390,7 @@ python tests\scripts\check_source_size.py . --warn-file-lines 1500 --max-file-li
|
||||
3. 运行 WSL gfortran build 和 CTest。
|
||||
4. 运行 Windows Intel ifx build 和 CTest。
|
||||
5. 运行 `git diff --check`。
|
||||
6. 运行 `source_size`。
|
||||
6. 运行 `source_size` 和 `examples_layout`。
|
||||
7. 检查 `git status --ignored --short`,确认 results 和 build 输出未被暂存。
|
||||
8. 更新 `docs/v*_acceptance_report.md` 和相关接口/测试文档。
|
||||
9. 提交 git,必要时打 tag 并推送。
|
||||
|
||||
Reference in New Issue
Block a user