Repository navigation
refactor(test): discover sources and script tests by convention - #219
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
普通 C++ 测试、Node 示例和推理夹具按所属目录递归收集;Python、Shell、CMake 和 Studio JavaScript 测试按命名约定自动发现。新增普通文件无需逐个维护构建或测试清单。
脚本的 CTest 名称使用相对
tests/的路径,特殊参数和环境集中配置。Operator 壳筛选、独立测试进程及可选 E2E 的执行条件保留;辅助脚本改用非test_*名称,避免重复注册。同步更新测试文档和 sanitizer 过滤规则。验证:交付脚本运行
LLM_EDGEFLOW_JOBS=4 ./scripts/run_all_tests.sh,471 项 CTest 中 466 项通过,5 项因可选资产未提供而跳过,零失败。