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:
parent
eae99c1035
commit
c64f33a648
4 changed files with 5 additions and 5 deletions
|
@ -1 +0,0 @@
|
|||
CONFIG_NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME=y
|
|
@ -0,0 +1 @@
|
|||
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -5,7 +5,7 @@ common:
|
|||
- lwm2m
|
||||
- net
|
||||
platform_allow:
|
||||
- native_posix
|
||||
- native_sim
|
||||
tests:
|
||||
net.lwm2m.lwm2m_rd_client:
|
||||
extra_args: EXTRA_CFLAGS=""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue