Skip to content

[Feature] utest覆盖测试脚本统一 #10732

Closed

Description

@kurisaW

Describe problem solved by the proposed feature

目前主线已经有两个utest脚本了,分别是:

可以考虑将action_utest.yml统一合并进utest_auto_run.yml了,然后内核的测试可以统一放在default.cfg中

Describe your preferred solution

No response

Describe possible alternatives

No response

Activity

  1. kurisaW commented on Sep 24, 2025

    @kurisaW
    MemberAuthor

    @supperthomas 涛哥看看可以考虑合并嘛

  2. supperthomas commented on Sep 24, 2025

    @supperthomas
    Member

    可以的,utest的一些文件尽量放到sample中,.github里面尽量不要放cfg文件

  3. kurisaW commented on Sep 24, 2025

    @kurisaW
    MemberAuthor

    可以的,example后面会把utest相关的都抽出来,并分布式放到各个模块下,然后涛哥你看下要不放这里:

    https://github.com/RT-Thread/rt-thread/tree/master/components/utilities/utest/config

  4. supperthomas commented on Sep 25, 2025

    @supperthomas
    Member

    可以的,example后面会把utest相关的都抽出来,并分布式放到各个模块下,然后涛哥你看下要不放这里:

    https://github.com/RT-Thread/rt-thread/tree/master/components/utilities/utest/config

    example中的utest建议放example那里,位置不动吧。这个其实属于比较特别的sample,utest中应该是包含各个文件夹,和rtthread中的文件夹类似的,做一一映射,比如utest/component, utest/src, utest/bsp, utest/component/dfs, 这样会方便查找。放这里components/utilities/utest 会比较难找。

  5. supperthomas commented on Sep 25, 2025

    @supperthomas
    Member

    要先把这里的https://github.com/RT-Thread/rt-thread/tree/master/.github/utest 先挪出来和utest中的sample放一起

  6. linked a pull request that will close this issueimprove[ci]: integrate utest run ci #10748on Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

actiongithub action yml imporve

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions