Skip to content

Conversation

@unicornx
Copy link
Contributor

@unicornx unicornx commented Oct 13, 2025

在修改 utest 的一些 pr 中修改了一些 config option 的名字,譬如将 UTEST_DEVICE_TC 被替换为 RT_UTEST_DRIVERS_CORE,但有些文件忘记替换了,这个补丁里补上。

注意: .config 文件中形如 "# CONFIG_XXX is not set" 不用修改,本身是注释,而且对于 bsp 执行一次 scons --menuconfig 并保存后即可自动被替换,所以对于这种情况无需手动修改。

为方便 review,本 PR 包含两个 commit:

  • utest: fixed UTEST_DEVICE_TC
  • utest: fixed UTEST_SMP_CALL_FUNC

@Rbb666 merge 的时候请不要压缩。

In 01e0154, "utest: move driver-related case under to drivers,"
UTEST_DEVICE_TC was replaced with RT_UTEST_DRIVERS_CORE. However,
some files are forgot to do this replacement, so this patch address
this.

Note: In .config, lines like "# CONFIG_XXX is not set" do not need
to be modified; they are comments. Furthermore, for BSPs, running
"scons --menuconfig" and save the config will automatically replace
them. Therefore, no modification is necessary in this case.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
In 66448d9 "utest: smp_call: move from example to components/drivers/smp_call"
UTEST_SMP_CALL_FUNC was replaced with RT_UTEST_SMP_CALL_FUNC.
However, some files are forgot to do this replacement, so this patch address
this.

Note: In .config, lines like "# CONFIG_XXX is not set" do not need
to be modified; they are comments. Furthermore, for BSPs, running
"scons --menuconfig" and save the config will automatically replace
them. Therefore, no modification is necessary in this case.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
@unicornx unicornx requested a review from Rbb666 as a code owner October 13, 2025 07:58
@github-actions
Copy link

👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread!

为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。
To ensure your code complies with RT-Thread's coding style, please run the code formatting workflow by following the steps below (If the formatting of CI fails to run).


🛠 操作步骤 | Steps

  1. 前往 Actions 页面 | Go to the Actions page
    点击进入工作流 → | Click to open workflow →

  2. 点击 Run workflow | Click Run workflow

  • 设置需排除的文件/目录(目录请以"/"结尾)
    Set files/directories to exclude (directories should end with "/")
  • 将目标分支设置为 \ Set the target branch to:dev-fix-utest-configname
  • 设置PR number为 \ Set the PR number to:10802
  1. 等待工作流完成 | Wait for the workflow to complete
    格式化后的代码将自动推送至你的分支。
    The formatted code will be automatically pushed to your branch.

完成后,提交将自动更新至 dev-fix-utest-configname 分支,关联的 Pull Request 也会同步更新。
Once completed, commits will be pushed to the dev-fix-utest-configname branch automatically, and the related Pull Request will be updated.

如有问题欢迎联系我们,再次感谢您的贡献!💐
If you have any questions, feel free to reach out. Thanks again for your contribution!

@Rbb666 Rbb666 merged commit e194a08 into RT-Thread:master Oct 14, 2025
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants