test: add trace-exec testing and fix trace-exec mock stability#104
Open
yuKing123-king wants to merge 1 commit into
Open
test: add trace-exec testing and fix trace-exec mock stability#104yuKing123-king wants to merge 1 commit into
yuKing123-king wants to merge 1 commit into
Conversation
yuKing123-king
force-pushed
the
test/trace-exec
branch
2 times, most recently
from
July 21, 2026 02:39
4e88e57 to
10cd9bf
Compare
Signed-off-by: Wang Yu <[email protected]>
yuKing123-king
force-pushed
the
test/trace-exec
branch
from
July 21, 2026 07:49
10cd9bf to
61aa848
Compare
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.
本次修改集中在 test 目录,修改内容如下
添加了 trace-exec 的 BUILTIN 单测。测试内容围绕工具实际功能补充了较完整的回归验证,覆盖了以下几类行为:
在test/Makefile 中补齐测试目标的链接依赖;
在test/mock.cpp 中修正 skeleton 对象在全局容器中的分配、指针回填和销毁逻辑,避免因扩容和错索引导致的崩溃;