tests/ztest: Swap native_posix with native_sim

Switch the default test platform to native_sim from native_posix

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-11-16 11:39:38 +01:00 committed by Carles Cufí
parent 641784cd59
commit 0d1045e093
2 changed files with 11 additions and 8 deletions

View file

@ -6,11 +6,16 @@ tests:
type: unit
testing.ztest.base.cpp:
extra_args: CONF_FILE=prj_cpp.conf
platform_allow: native_posix
platform_allow:
- native_posix
- native_sim
- native_sim_64
integration_platforms:
- native_sim
testing.ztest.base.verbose_0:
extra_args: CONF_FILE=prj_verbose_0.conf
integration_platforms:
- native_posix
- native_sim
testing.ztest.base.verbose_0_userspace:
filter: CONFIG_USERSPACE
extra_args: CONF_FILE=prj_verbose_0.conf
@ -23,8 +28,8 @@ tests:
testing.ztest.base.verbose_1:
extra_args: CONF_FILE=prj_verbose_1.conf
integration_platforms:
- native_posix
- native_sim
testing.ztest.base.verbose_2:
extra_args: CONF_FILE=prj_verbose_2.conf
integration_platforms:
- native_posix
- native_sim

View file

@ -3,17 +3,15 @@
common:
integration_platforms:
- native_posix
- native_sim
tags:
- test_framework
tests:
testing.ztest.expect:
integration_platforms:
- native_posix
- native_sim
testing.ztest.expect_cpp:
extra_configs:
- CONFIG_CPLUSPLUS=y
integration_platforms:
- native_posix
testing.ztest.expect.unit:
type: unit