mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
[nexus] support ctest labels to categorize tests (#12367)
Updates the `ot_nexus_test` macro to accept a list of labels for each test case. This allows for categorizing tests and executing specific subsets using `ctest -L`. The tests are now assigned labels such as `core`, `cert`, and `trel`. The `core` label is used for tests that verify OpenThread core logic and behavior, distinguishing them from `cert` tests which cover certification scenarios. The GitHub workflow is updated to utilize `ctest -L` for running the tests, replacing the previous `ninja test` command.
This commit is contained in:
committed by
GitHub
parent
62a2d794d4
commit
ebba0b39a5
@@ -227,10 +227,10 @@ jobs:
|
||||
- name: Build & Run
|
||||
run: |
|
||||
./tests/nexus/build.sh
|
||||
ninja test
|
||||
ctest -L core --output-on-failure
|
||||
git clean -dfx
|
||||
./tests/nexus/build.sh trel
|
||||
./tests/nexus/nexus_trel
|
||||
ctest -L trel --output-on-failure
|
||||
|
||||
upload-coverage:
|
||||
needs:
|
||||
|
||||
Reference in New Issue
Block a user