kconfig: Rename the ZTEST stack size option to align with the rest

All stack sizes should end with STACK_SIZE.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2022-02-17 17:07:03 +01:00 committed by Anas Nashif
commit 4b8f1c04ab
58 changed files with 59 additions and 59 deletions

View file

@ -16,7 +16,7 @@ config ZTEST_NEW_API
Enables the new Ztest APIs for creating suites and unit tests in
separate compilational units as well as the new 'rules' API.
config ZTEST_STACKSIZE
config ZTEST_STACK_SIZE
int "Test function thread stack size"
default 2048 if COVERAGE_GCOV
default 1024

View file

@ -303,7 +303,7 @@ out:
#define FAIL_FAST 0
#endif
K_THREAD_STACK_DEFINE(ztest_thread_stack, CONFIG_ZTEST_STACKSIZE +
K_THREAD_STACK_DEFINE(ztest_thread_stack, CONFIG_ZTEST_STACK_SIZE +
CONFIG_TEST_EXTRA_STACKSIZE);
static ZTEST_BMEM int test_result;

View file

@ -317,7 +317,7 @@ out:
#define FAIL_FAST 0
#endif
K_THREAD_STACK_DEFINE(ztest_thread_stack, CONFIG_ZTEST_STACKSIZE + CONFIG_TEST_EXTRA_STACKSIZE);
K_THREAD_STACK_DEFINE(ztest_thread_stack, CONFIG_ZTEST_STACK_SIZE + CONFIG_TEST_EXTRA_STACKSIZE);
static ZTEST_BMEM int test_result;
static void test_finalize(void)