tests/net lwm2m_rd_client: Switch from native_posix to native_sim

Switch these tests from native_posix to native_sim

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-11-16 13:56:05 +01:00 committed by Carles Cufí
commit c64f33a648
4 changed files with 5 additions and 5 deletions

View file

@ -1 +0,0 @@
CONFIG_NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME=y

View file

@ -0,0 +1 @@
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y

View file

@ -9,8 +9,8 @@
#include <zephyr/fff.h>
#include <zephyr/logging/log.h>
#include <zephyr/ztest.h>
#if defined(CONFIG_NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME)
#include "timer_model.h"
#if defined(CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME)
#include "nsi_timer_model.h"
#endif
#include <lwm2m_rd_client.h>
@ -141,7 +141,7 @@ static void lwm2m_observe_cb(enum lwm2m_observe_event event, struct lwm2m_obj_pa
static void my_suite_before(void *data)
{
#if defined(CONFIG_NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME)
#if defined(CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME)
/* It is enough that some slow-down is happening on sleeps, it does not have to be
* real time
*/

View file

@ -5,7 +5,7 @@ common:
- lwm2m
- net
platform_allow:
- native_posix
- native_sim
tests:
net.lwm2m.lwm2m_rd_client:
extra_args: EXTRA_CFLAGS=""