tests: kernel: threads: stack: Enable USERSPACE

Test that automatic thread stack allocation works for
both user and kernel threads.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2023-07-14 11:36:39 -07:00 committed by Chris Friedt
parent 397ed142ad
commit d58c9a1ca4

View file

@ -21,56 +21,49 @@ tests:
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
- CONFIG_DYNAMIC_THREAD_ALLOC=n
- CONFIG_USERSPACE=n
# kernel.threads.dynamic_thread.stack.no_pool.no_alloc.user:
# tags: userspace
# extra_configs:
# # 001
# - CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
# - CONFIG_DYNAMIC_THREAD_ALLOC=n
# - CONFIG_USERSPACE=y
kernel.threads.dynamic_thread.stack.no_pool.no_alloc.user:
tags: userspace
extra_configs:
# 001
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
- CONFIG_DYNAMIC_THREAD_ALLOC=n
- CONFIG_USERSPACE=y
kernel.threads.dynamic_thread.stack.no_pool.alloc.no_user:
extra_configs:
# 010
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
- CONFIG_DYNAMIC_THREAD_ALLOC=y
- CONFIG_USERSPACE=n
# kernel.threads.dynamic_thread.stack.no_pool.alloc.user:
# tags: userspace
# extra_configs:
# # 011
# - CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
# - CONFIG_DYNAMIC_THREAD_ALLOC=y
# - CONFIG_USERSPACE=y
kernel.threads.dynamic_thread.stack.no_pool.alloc.user:
tags: userspace
extra_configs:
# 011
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
- CONFIG_DYNAMIC_THREAD_ALLOC=y
- CONFIG_USERSPACE=y
kernel.threads.dynamic_thread.stack.pool.no_alloc.no_user:
extra_configs:
# 100
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
- CONFIG_DYNAMIC_THREAD_ALLOC=n
- CONFIG_USERSPACE=n
# kernel.threads.dynamic_thread.stack.pool.no_alloc.user:
# tags: userspace
# extra_configs:
# # 101
# - CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
# - CONFIG_DYNAMIC_THREAD_ALLOC=n
# - CONFIG_USERSPACE=y
kernel.threads.dynamic_thread.stack.pool.no_alloc.user:
tags: userspace
extra_configs:
# 101
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
- CONFIG_DYNAMIC_THREAD_ALLOC=n
- CONFIG_USERSPACE=y
kernel.threads.dynamic_thread.stack.pool.alloc.no_user:
extra_configs:
# 110
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
- CONFIG_DYNAMIC_THREAD_ALLOC=y
- CONFIG_USERSPACE=n
# kernel.threads.dynamic_thread.stack.pool.alloc.user:
# tags: userspace
# extra_configs:
# # 111
# - CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
# - CONFIG_DYNAMIC_THREAD_ALLOC=y
# - CONFIG_USERSPACE=y
kernel.threads.dynamic_thread.stack.pool.alloc.user:
tags: userspace
extra_configs:
# 111
- CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
- CONFIG_DYNAMIC_THREAD_ALLOC=y
- CONFIG_USERSPACE=y