From 25281db44c3fddce67e6b655e7c58215ea034e99 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Thu, 23 Feb 2017 07:11:37 -0800 Subject: [PATCH] Revert "tests/crypto: Update testcase.ini to build on more platforms" This reverts commit f20dc053b5cc746fcb6db19a39e8ed038ee495cf. Test breaks on many boards. Change-Id: I6180146f007c123e5a51aceb8acabdf2b7ee376c Signed-off-by: Anas Nashif --- tests/crypto/test_cbc_mode/testcase.ini | 4 ++-- tests/crypto/test_ccm_mode/testcase.ini | 4 ++-- tests/crypto/test_cmac_mode/testcase.ini | 4 ++-- tests/crypto/test_ctr_mode/testcase.ini | 4 ++-- tests/crypto/test_ctr_prng/testcase.ini | 5 +---- tests/crypto/test_ecc_dsa/testcase.ini | 3 +-- tests/crypto/test_hmac/testcase.ini | 3 +-- tests/crypto/test_hmac_prng/testcase.ini | 6 ++---- tests/crypto/test_mbedtls/testcase.ini | 1 - tests/crypto/test_sha256/testcase.ini | 2 +- 10 files changed, 14 insertions(+), 22 deletions(-) diff --git a/tests/crypto/test_cbc_mode/testcase.ini b/tests/crypto/test_cbc_mode/testcase.ini index dfef6d0e592df0..ae851ff35439ab 100644 --- a/tests/crypto/test_cbc_mode/testcase.ini +++ b/tests/crypto/test_cbc_mode/testcase.ini @@ -1,5 +1,5 @@ [test] tags = crypto aes cbc build_only = false - -platform_exclude = qemu_riscv32 +# FIXME: why? +platform_whitelist = qemu_x86 qemu_cortex_m3 diff --git a/tests/crypto/test_ccm_mode/testcase.ini b/tests/crypto/test_ccm_mode/testcase.ini index 6a98e0dd29214d..366681a61912b7 100644 --- a/tests/crypto/test_ccm_mode/testcase.ini +++ b/tests/crypto/test_ccm_mode/testcase.ini @@ -1,5 +1,5 @@ [test] tags = crypto aes ccm build_only = false - -platform_exclude = qemu_riscv32 +# FIXME: why? +platform_whitelist = qemu_x86 qemu_cortex_m3 diff --git a/tests/crypto/test_cmac_mode/testcase.ini b/tests/crypto/test_cmac_mode/testcase.ini index 053d3a5c3808dc..e11dd004d14005 100644 --- a/tests/crypto/test_cmac_mode/testcase.ini +++ b/tests/crypto/test_cmac_mode/testcase.ini @@ -1,5 +1,5 @@ [test] tags = crypto aes cmac build_only = false - -platform_exclude = qemu_riscv32 +# FIXME: why? +platform_whitelist = qemu_x86 qemu_cortex_m3 diff --git a/tests/crypto/test_ctr_mode/testcase.ini b/tests/crypto/test_ctr_mode/testcase.ini index 18a4cf99aa17ff..79ab9a4ef48077 100644 --- a/tests/crypto/test_ctr_mode/testcase.ini +++ b/tests/crypto/test_ctr_mode/testcase.ini @@ -1,5 +1,5 @@ [test] tags = crypto aes ctr build_only = false - -platform_exclude = qemu_riscv32 +# FIXME: why? +platform_whitelist = qemu_x86 qemu_cortex_m3 diff --git a/tests/crypto/test_ctr_prng/testcase.ini b/tests/crypto/test_ctr_prng/testcase.ini index 805be6e9942fb9..bbee0f2fd492da 100644 --- a/tests/crypto/test_ctr_prng/testcase.ini +++ b/tests/crypto/test_ctr_prng/testcase.ini @@ -1,8 +1,5 @@ [test] tags = crypto ctr prng build_only = false - -platform_exclude = qemu_riscv32 - # FIXME: ZEP-1722 -arch_exclude = xtensa +arch_exclude = xtensa \ No newline at end of file diff --git a/tests/crypto/test_ecc_dsa/testcase.ini b/tests/crypto/test_ecc_dsa/testcase.ini index 262d8110a4fe88..2391116625746e 100644 --- a/tests/crypto/test_ecc_dsa/testcase.ini +++ b/tests/crypto/test_ecc_dsa/testcase.ini @@ -1,5 +1,4 @@ [test] tags = crypto ecc dsa build_only = false - -platform_exclude = qemu_riscv32 +platform_whitelist = qemu_x86 qemu_cortex_m3 diff --git a/tests/crypto/test_hmac/testcase.ini b/tests/crypto/test_hmac/testcase.ini index de2d2a283898e7..661f9197915c02 100644 --- a/tests/crypto/test_hmac/testcase.ini +++ b/tests/crypto/test_hmac/testcase.ini @@ -1,4 +1,3 @@ [test] tags = crypto sha256 hmac - -platform_exclude = qemu_riscv32 +platform_whitelist = qemu_x86 qemu_cortex_m3 diff --git a/tests/crypto/test_hmac_prng/testcase.ini b/tests/crypto/test_hmac_prng/testcase.ini index d794da69d6880a..ecfb0dce671f3e 100644 --- a/tests/crypto/test_hmac_prng/testcase.ini +++ b/tests/crypto/test_hmac_prng/testcase.ini @@ -1,7 +1,5 @@ [test] tags = crypto sha256 hmac prng build_only = false -filter = ( CONFIG_SRAM_SIZE >= 32 or CONFIG_DCCM_SIZE >= 32 or - CONFIG_RAM_SIZE >= 32 ) - -platform_exclude = qemu_riscv32 nrf51_pca10028 stm32373c_eval +# FIXME: why? +platform_whitelist = qemu_x86 qemu_cortex_m3 diff --git a/tests/crypto/test_mbedtls/testcase.ini b/tests/crypto/test_mbedtls/testcase.ini index 4eb478422360f6..96ea6fd57a82de 100644 --- a/tests/crypto/test_mbedtls/testcase.ini +++ b/tests/crypto/test_mbedtls/testcase.ini @@ -3,7 +3,6 @@ tags = crypto mbedtls filter = ( CONFIG_SRAM_SIZE >= 32 or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32 ) timeout = 200 -platform_exclude = qemu_riscv32 [test_nios] tags = crypto mbedtls diff --git a/tests/crypto/test_sha256/testcase.ini b/tests/crypto/test_sha256/testcase.ini index 9a9d9286ccfb78..9ccaf9757c2cc5 100644 --- a/tests/crypto/test_sha256/testcase.ini +++ b/tests/crypto/test_sha256/testcase.ini @@ -3,7 +3,7 @@ tags = crypto sha256 build_only = false timeout = 10800 slow = True -platform_exclude = qemu_riscv32 +arch_whitelist = arm arc x86 filter = ( CONFIG_SRAM_SIZE > 32 or CONFIG_DCCM_SIZE > 32 or CONFIG_RAM_SIZE > 32 ) [test_nios2]