Skip to content

Commit

Permalink
filter: Set special stack size for ecc_dsa debug
Browse files Browse the repository at this point in the history
When the debug option is enabled ECC DSA test doesn't have enough stack
space so qemu fails. Adding double stack size for special case of qemu
and CONFIG_DEBUG.

Jira: ZEP-1066

Change-Id: Ib14d853de2b1c755a6171787845433648d61b75b
Signed-off-by: Genaro Saucedo Tejada <[email protected]>
  • Loading branch information
gsaucedo authored and Anas Nashif committed Oct 18, 2016
1 parent af18a34 commit 9021ead
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
8 changes: 8 additions & 0 deletions tests/crypto/test_ecc_dsa/debug.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CONFIG_TEST_RANDOM_GENERATOR=y

CONFIG_TINYCRYPT=y
CONFIG_TINYCRYPT_SHA256=y
CONFIG_TINYCRYPT_ECC_DH=y
CONFIG_TINYCRYPT_ECC_DSA=y

CONFIG_MAIN_STACK_SIZE=4096
9 changes: 8 additions & 1 deletion tests/crypto/test_ecc_dsa/testcase.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@ tags = crypto ecc dsa
build_only = false
kernel = nano
#Do not run for debug daily build
filter = not (CONFIG_DEBUG and CONFIG_SOC_QUARK_D2000)
filter = not (CONFIG_DEBUG and (CONFIG_SOC_QUARK_D2000 or CONFIG_BOARD_QEMU_X86))

[test_dbg]
tags = crypto ecc dsa debug
build_only = false
kernel = nano
extra_args = CONF_FILE=debug.conf
filter = CONFIG_DEBUG and CONFIG_BOARD_QEMU_X86

0 comments on commit 9021ead

Please sign in to comment.