| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Adds a new SMP test suite scheduler_core_mask covering the vTaskSetSchedulerCoreMask() and uxTaskGetSchedulerCoreMask() APIs introduced by FreeRTOS-Kernel PR FreeRTOS#1418, plus the scheduler-mask guard branches in prvSelectHighestPriorityTask. 12 tests (6 functional + 6 coverage), 100% line coverage of PR-changed lines in tasks.c.
| Back | FazBrowse Home | New Git URL |
Description
This pull request adds CMock + Unity unit tests for the changes introduced
in FreeRTOS-Kernel PR #1418,
which adds the vTaskSetSchedulerCoreMask() and uxTaskGetSchedulerCoreMask()
APIs for per-core scheduler masking in SMP builds.
Kernel PR: FreeRTOS/FreeRTOS-Kernel#1418
New test suite: FreeRTOS/Test/CMock/smp/scheduler_core_mask/
Functional test plan
The following scenarios are verified end-to-end via the public API:
Coverage test plan
The following branch conditions not reachable via the public API are covered
by the coverage test file:
Test results
Test Steps
Checklist:
Related Issue
FreeRTOS-Kernel PR #1418: FreeRTOS/FreeRTOS-Kernel#1418
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.