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
commit d58c9a1ca4

View file

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