Skip to content

Commit 6568825

Browse files
aescolarfabiobaltieri
authored andcommitted
tests/crypto/*: Switch from native_posix to native_sim
Enable these tests which run in native_posix in native_sim, Switch from native_posix to native_sim as default test platform For drivers.rand32.random_psa_crypto, filter the posix arch to save some CI time, as TFM is not supported in this architecture all together. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 70e0d1e commit 6568825

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
tests:
22
crypto.hash:
3-
platform_allow: native_posix
3+
platform_allow:
4+
- native_posix
5+
- native_sim
6+
integration_platforms:
7+
- native_sim
48
tags: crypto

tests/crypto/mbedtls/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ tests:
1414
- arch:riscv64:CONFIG_ZTEST_STACK_SIZE=8192
1515
integration_platforms:
1616
- qemu_x86
17-
- native_posix
17+
- native_sim

tests/crypto/rand32/testcase.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@ tests:
1717
filter: CONFIG_ENTROPY_HAS_DRIVER
1818
min_ram: 16
1919
integration_platforms:
20-
- native_posix
20+
- native_sim
2121
crypto.rand32.random_ctr_drbg:
2222
extra_args: CONF_FILE=prj_ctr_drbg.conf
2323
filter: CONFIG_ENTROPY_HAS_DRIVER
2424
min_ram: 16
2525
integration_platforms:
26-
- native_posix
26+
- native_sim
2727
drivers.rand32.random_psa_crypto:
2828
filter: CONFIG_BUILD_WITH_TFM
29+
arch_exclude: posix
2930
extra_args:
3031
- DTC_OVERLAY_FILE=./entropy_psa_crypto.overlay
3132
- CONF_FILE=prj_hw_random_psa_crypto.conf

tests/crypto/tinycrypt/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ tests:
1111
- m2gl025_miv
1212
timeout: 500
1313
integration_platforms:
14-
- native_posix
14+
- native_sim
1515
toolchain_exclude: xcc

tests/crypto/tinycrypt_hmac_prng/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ tests:
1111
- mec1501modular_assy6885
1212
- m2gl025_miv
1313
integration_platforms:
14-
- native_posix
14+
- native_sim
1515
toolchain_exclude: xcc

0 commit comments

Comments
 (0)