filter: Set special stack size for ecc_dsa debug
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 <genaro.saucedo.tejada@intel.com>
This commit is contained in:
parent
af18a34a6a
commit
9021ead890
2 changed files with 16 additions and 1 deletions
8
tests/crypto/test_ecc_dsa/debug.conf
Normal file
8
tests/crypto/test_ecc_dsa/debug.conf
Normal file
|
@ -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
|
|
@ -3,4 +3,11 @@ tags = crypto ecc dsa
|
||||||
build_only = false
|
build_only = false
|
||||||
kernel = nano
|
kernel = nano
|
||||||
#Do not run for debug daily build
|
#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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue