utest/utest: intergare testcases into utest framework #10665
Merged
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.
随着 #10534 的合入,我们开始逐渐将各个子模块的单元测试用例都移动到自己的模块所在目录下。
本 pr 首先先将 utest framework 自身的 testcases 移到 utest 所在目录
components/utilities/utest下。为方便 review,本 PR 包含两个 commit
components/utilities/utest下管理。需要注意的是:原先components/utilities/utest下本身就有单元测试用例,而且比examples/utest/testcases/utest/下的测试用例更全面,所以直接删掉了 examples 下的测试用例,用 utest 框架下原有的测试用例就好了。本 PR 基于 bsp/qemu-virt64-riscv 测试通过。