Skip to content

fix: retry failed model tests and summarize final results - #258

Merged
chen2021673 merged 2 commits into
masterfrom
fix/model-test-retries
Nov 25, 2026
Merged

chen2021673 merged 2 commits into
masterfrom
fix/model-test-retries

Conversation

@chen2021673

@chen2021673 chen2021673 commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

测例失败时自动重试一次,重试覆盖原日志;再次失败后记录结果并继续执行后续测例。

  • 运行结束时输出失败数 / 总测例数,高亮列出失败测例及日志路径。
  • CTest 按单个测例重试和统计,重试不重复计数,汇总无需临时文件。
  • 启动时完整解析脚本,避免运行期间修改文件导致 Bash 读取错位。

运行结果示例如下:
image

image

Comment thread scripts/run_models_and_profile.bash Resolved
Comment thread scripts/run_models_and_profile.bash Resolved
Comment thread scripts/run_models_and_profile.bash Resolved
Comment thread scripts/run_models_and_profile.bash Resolved
@chen2021673
chen2021673 force-pushed the fix/model-test-retries branch from 386c26b to 46b97f0 Compare November 20, 2026 07:31
@chen2021673
chen2021673 force-pushed the fix/model-test-retries branch from 46b97f0 to 497c3aa Compare November 23, 2026 02:19
- Add configurable MAX_TEST_ATTEMPTS for CTest and model test retries
- Classify results as pass, pass-on-retry, and fail in the summary
- List retry-passed cases and preserve nonzero exit status on failures
- Clean checkpoint save directories before retrying save cases
@chen2021673

Copy link
Copy Markdown
Collaborator Author

修改后的运行成功结果示例如下:
image

@chen2021673

Copy link
Copy Markdown
Collaborator Author

精度测试:
image
性能测试:
image

@chen2021673
chen2021673 merged commit bf8d208 into master Nov 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants