tests: adjust some stack sizes when running debug loads

Having CONFIG_ASSERT=y and CONFIG_DEBUG=y was causing these tests to
overflow their stacks and crash.

Change-Id: Ibcd57abe044a2203d1a954a4c5755218af48f302
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
Benjamin Walsh 2016-11-30 17:40:06 -05:00 committed by Anas Nashif
commit cb21e03ebb
3 changed files with 14 additions and 0 deletions

View file

@ -38,7 +38,12 @@
#include <tc_nano_timeout_common.h>
#define FIBER_PRIORITY 5
#if defined(CONFIG_DEBUG) && defined(CONFIG_ASSERT)
#define FIBER_STACKSIZE 512
#else
#define FIBER_STACKSIZE 384
#endif
struct scratch_fifo_packet {
void *link_in_fifo;

View file

@ -46,7 +46,12 @@
#include <util_test_common.h>
#if defined(CONFIG_ASSERT) && defined(CONFIG_DEBUG)
#define FIBER_STACKSIZE 512
#else
#define FIBER_STACKSIZE 384
#endif
#define FIBER_PRIORITY 4
typedef struct {

View file

@ -34,7 +34,11 @@
#include <util_test_common.h>
#if defined(CONFIG_ASSERT) && defined(CONFIG_DEBUG)
#define FIBER_STACKSIZE 384
#else
#define FIBER_STACKSIZE 256
#endif
#define TEST_FIBER_PRIORITY 4
#define HELPER_FIBER_PRIORITY 10