Skip to content
Commit 3f2d2f1d authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

tests: cmsis_rtos_v2: fix thread checks



It's really not possible to design a test where we can
enforce expectations on real vs. expected stack size:

- Some platforms may increase stack size over what is expected
  due to rounding up the stack buffer area to the next power
  of two.

- Some configuration options like CONFIG_STACK_RANDOM
  carve out space in the stack buffer, resulting in a stack
  size less than what is expected.

Best we can do is just assert that the amount of space
available should be less than the total size reported.

Fixes: #14640

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 0734b4fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment