sanity: add DEBUG setting for test_sema
Test was not completing on CONFIG_DEBUG=y setting, current filter sets custom stack size for such setting Jira: ZEP-1203 Change-Id: I3a6ada88bc2e8a1fee757773c4b19b72551926a7 Signed-off-by: Genaro Saucedo Tejada <genaro.saucedo.tejada@intel.com>
This commit is contained in:
parent
0be498db5c
commit
12740a2314
3 changed files with 35 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
MDEF_FILE = prj.mdef
|
MDEF_FILE ?= prj.mdef
|
||||||
BOARD ?= qemu_x86
|
BOARD ?= qemu_x86
|
||||||
CONF_FILE = prj.conf
|
CONF_FILE = prj.conf
|
||||||
|
|
||||||
|
|
29
tests/legacy/kernel/test_sema/microkernel/debug.mdef
Normal file
29
tests/legacy/kernel/test_sema/microkernel/debug.mdef
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
% Application : test microkernel semaphore APIs
|
||||||
|
|
||||||
|
% TASKGROUP NAME
|
||||||
|
% =====================================================
|
||||||
|
TASKGROUP TEST
|
||||||
|
|
||||||
|
% TASK NAME PRIO ENTRY STACK GROUPS
|
||||||
|
% =====================================================
|
||||||
|
TASK MONITORTASK 5 MonitorTaskEntry 1024 [EXE]
|
||||||
|
TASK tHigh 4 HighPriTaskEntry 1024 [TEST]
|
||||||
|
TASK tStartTask 5 RegressionTaskEntry 1024 [TEST]
|
||||||
|
TASK tAlternate 6 AlternateTaskEntry 1024 [TEST]
|
||||||
|
TASK tLow 7 LowPriTaskEntry 1024 [TEST]
|
||||||
|
|
||||||
|
% SEMA NAME
|
||||||
|
% ======================
|
||||||
|
SEMA SEM_TASKDONE
|
||||||
|
SEMA SEM_TASKFAIL
|
||||||
|
SEMA SIMPLE_SEM
|
||||||
|
SEMA ALTTASK_SEM
|
||||||
|
SEMA HIGH_PRI_SEM
|
||||||
|
SEMA MANY_BLOCKED_SEM
|
||||||
|
SEMA GROUP_SEM1
|
||||||
|
SEMA GROUP_SEM2
|
||||||
|
SEMA GROUP_SEM3
|
||||||
|
SEMA GROUP_SEM4
|
||||||
|
SEMA BLOCK_HP_SEM
|
||||||
|
SEMA BLOCK_LP_SEM
|
||||||
|
SEMA BLOCK_MP_SEM
|
|
@ -1,3 +1,8 @@
|
||||||
[test]
|
[test]
|
||||||
tags = bat_commit core
|
tags = bat_commit core
|
||||||
|
filter = not CONFIG_DEBUG
|
||||||
|
|
||||||
|
[test_dbg]
|
||||||
|
tags = bat_commit core debug
|
||||||
|
extra_args = MDEF_FILE=debug.mdef
|
||||||
|
filter = CONFIG_DEBUG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue