Skip to content

Commit f20dc05

Browse files
1010101001010101Anas Nashif
authored andcommitted
tests/crypto: Update testcase.ini to build on more platforms
This patch excludes qemu riscv32 due to the following msg: qemu-system-riscv32: cannot set up guest memory 'riscv_sifive_board.ram': Cannot allocate memory Jira: ZEP-1721 Change-Id: Ib1784fa57ad1e3d69871d4e216af1ad5dbe55a76 Signed-off-by: Flavio Santes <[email protected]> (cherry picked from commit 7b652b1)
1 parent 4791c83 commit f20dc05

File tree

10 files changed

+22
-14
lines changed

10 files changed

+22
-14
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[test]
22
tags = crypto aes cbc
33
build_only = false
4-
# FIXME: why?
5-
platform_whitelist = qemu_x86 qemu_cortex_m3
4+
5+
platform_exclude = qemu_riscv32
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[test]
22
tags = crypto aes ccm
33
build_only = false
4-
# FIXME: why?
5-
platform_whitelist = qemu_x86 qemu_cortex_m3
4+
5+
platform_exclude = qemu_riscv32
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[test]
22
tags = crypto aes cmac
33
build_only = false
4-
# FIXME: why?
5-
platform_whitelist = qemu_x86 qemu_cortex_m3
4+
5+
platform_exclude = qemu_riscv32
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[test]
22
tags = crypto aes ctr
33
build_only = false
4-
# FIXME: why?
5-
platform_whitelist = qemu_x86 qemu_cortex_m3
4+
5+
platform_exclude = qemu_riscv32
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[test]
22
tags = crypto ctr prng
33
build_only = false
4+
5+
platform_exclude = qemu_riscv32
6+
47
# FIXME: ZEP-1722
5-
arch_exclude = xtensa
8+
arch_exclude = xtensa
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[test]
22
tags = crypto ecc dsa
33
build_only = false
4-
platform_whitelist = qemu_x86 qemu_cortex_m3
4+
5+
platform_exclude = qemu_riscv32
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[test]
22
tags = crypto sha256 hmac
3-
platform_whitelist = qemu_x86 qemu_cortex_m3
3+
4+
platform_exclude = qemu_riscv32
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[test]
22
tags = crypto sha256 hmac prng
33
build_only = false
4-
# FIXME: why?
5-
platform_whitelist = qemu_x86 qemu_cortex_m3
4+
filter = ( CONFIG_SRAM_SIZE >= 32 or CONFIG_DCCM_SIZE >= 32 or
5+
CONFIG_RAM_SIZE >= 32 )
6+
7+
platform_exclude = qemu_riscv32 nrf51_pca10028 stm32373c_eval

tests/crypto/test_mbedtls/testcase.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ tags = crypto mbedtls
33
filter = ( CONFIG_SRAM_SIZE >= 32 or CONFIG_DCCM_SIZE >= 32 or
44
CONFIG_RAM_SIZE >= 32 )
55
timeout = 200
6+
platform_exclude = qemu_riscv32
67

78
[test_nios]
89
tags = crypto mbedtls

tests/crypto/test_sha256/testcase.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ tags = crypto sha256
33
build_only = false
44
timeout = 10800
55
slow = True
6-
arch_whitelist = arm arc x86
6+
platform_exclude = qemu_riscv32
77
filter = ( CONFIG_SRAM_SIZE > 32 or CONFIG_DCCM_SIZE > 32 or CONFIG_RAM_SIZE > 32 )
88

99
[test_nios2]

0 commit comments

Comments
 (0)