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:
parent
4e8a54c1e3
commit
cb21e03ebb
3 changed files with 14 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue