zephyr/tests/kernel/threads/thread_apis/testcase.yaml
Andy Ross 0f20abda8d tests/kernel/threads_apis: Add case for CPU_MASK_PIN_ONLY
Add testing for the PIN_ONLY API variant (which has a separate run
queue per CPU).  Predicate on SMP systems only, to keep needless
duplicate testing to a minimum.

Note that one of the cases in this test exercises an "all cpus" option
for the cpu mask, which is illegal when CONFIG_SCHED_CPU_MASK_PIN_ONLY
is set.  Skip.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-09-28 20:15:05 -04:00

11 lines
278 B
YAML

tests:
kernel.threads.apis:
tags: kernel threads userspace ignore_faults
min_flash: 34
kernel.threads.apis.pinonly:
tags: kernel threads userspace ignore_faults
min_flash: 34
filter: CONFIG_SMP
extra_configs:
- CONFIG_SCHED_CPU_MASK_PIN_ONLY=y