RT-Thread / RT-Thread/rt-thread

提议:CI 中增加 qemu aarch64 平台下运行的 utest

Open
#8,486 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
12.2k
Forks
5.4k
Avg merge
4d 12h
Merged PRs (30d)
40

Description

目前大多数 utest 都是配置为 vexpress a9 平台下运行。但由于 RTT 内核需要运行在众多平台上,其中有很多条件编译的代码。而单独使用 vexpress a9 显然难以覆盖到足够的使用场景。比如 SMP 相关的部分现在 utest 就没有覆盖到。这样,类似 https://github.com/RT-Thread/rt-thread/pull/8485 这类问题,在 CI 就可以利用 utest 拦截下来。所以建议增加一个 64 位多核的 qemu aarch64 作为第二个测试平台。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how the existing vexpress A9 utest platform is configured in CI, and inspect PR 8485 for the SMP-related failure this proposal aims to catch. Done means a 64-bit multicore QEMU AArch64 platform runs the relevant utests successfully in CI alongside vexpress A9.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
ci-cd, embedded-iot, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.