unified/tests: Adapt test_sha256 for unified kernel
Unified kernel invokes main() function in the init thread. This eliminates the need for a separate thread for the test. Change-Id: I4e6c4f212615d2135adf7971df32db1ad392c0e2 Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
This commit is contained in:
parent
febe9f5571
commit
81c94161f5
4 changed files with 6 additions and 11 deletions
|
@ -1,6 +1,5 @@
|
||||||
BOARD ?= qemu_x86
|
BOARD ?= qemu_x86
|
||||||
MDEF_FILE = prj.mdef
|
KERNEL_TYPE = unified
|
||||||
KERNEL_TYPE = micro
|
|
||||||
CONF_FILE = prj.conf
|
CONF_FILE = prj.conf
|
||||||
|
|
||||||
include $(ZEPHYR_BASE)/Makefile.inc
|
include $(ZEPHYR_BASE)/Makefile.inc
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
CONFIG_TEST_RANDOM_GENERATOR=y
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
||||||
CONFIG_TINYCRYPT=y
|
CONFIG_TINYCRYPT=y
|
||||||
CONFIG_TINYCRYPT_SHA256=y
|
CONFIG_TINYCRYPT_SHA256=y
|
||||||
|
CONFIG_MAIN_STACK_SIZE=40960
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
% Application : test SHA256 TinyCrypt APIs
|
|
||||||
|
|
||||||
% TASK NAME PRIO ENTRY STACK GROUPS
|
|
||||||
% ====================================================
|
|
||||||
TASK tStartTask 5 main 40960 [EXE]
|
|
|
@ -1,16 +1,16 @@
|
||||||
[test]
|
[test]
|
||||||
tags = crypto sha256
|
tags = crypto sha256 unified_capable
|
||||||
build_only = false
|
build_only = false
|
||||||
timeout = 10800
|
timeout = 10800
|
||||||
slow = True
|
slow = True
|
||||||
arch_whitelist = arm arc x86
|
arch_whitelist = arm arc x86
|
||||||
filter = ( CONFIG_SRAM_SIZE > 32 or CONFIG_DCCM_SIZE > 32 or CONFIG_RAM_SIZE > 32 )
|
filter = ( CONFIG_SRAM_SIZE > 32 or CONFIG_DCCM_SIZE > 32 or CONFIG_RAM_SIZE > 32 )
|
||||||
kernel = micro
|
kernel = unified
|
||||||
|
|
||||||
[test_nios2]
|
[test_nios2]
|
||||||
tags = crypto sha256
|
tags = crypto sha256 unified_capable
|
||||||
build_only = false
|
build_only = false
|
||||||
timeout = 10800
|
timeout = 10800
|
||||||
slow = True
|
slow = True
|
||||||
arch_whitelist = nios2
|
arch_whitelist = nios2
|
||||||
kernel = micro
|
kernel = unified
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue