Skip to content

Commit

Permalink
tests/kernel/sched/schedule_api: Honor TEST_EXTRA_STACKSIZE
Browse files Browse the repository at this point in the history
Stacks created by tests should add this amount so thread-hungry
architectures can tune it.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
  • Loading branch information
Andy Ross authored and nashif committed Jan 11, 2019
1 parent 31e79a7 commit 870e818
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <ztest.h>

#define STACK_SIZE 512
#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACKSIZE)
#define NUM_THREAD 3
static K_THREAD_STACK_ARRAY_DEFINE(tstack, NUM_THREAD, STACK_SIZE);
/* slice size in millisecond*/
Expand Down

0 comments on commit 870e818

Please sign in to comment.