diff --git a/scripts/net/run-sample-tests.sh b/scripts/net/run-sample-tests.sh index 11162b30b5..85f5d62efc 100755 --- a/scripts/net/run-sample-tests.sh +++ b/scripts/net/run-sample-tests.sh @@ -157,7 +157,7 @@ start_zephyr () fi rm -rf build && mkdir build && \ - cmake -GNinja -DBOARD=native_posix -B build "$@" . && \ + cmake -GNinja -DBOARD=native_sim -B build "$@" . && \ ninja -C build # Run the binary directly so that ninja does not print errors that diff --git a/tests/net/lib/lwm2m/interop/docker-test.sh b/tests/net/lib/lwm2m/interop/docker-test.sh index 9184461aec..4efeec9625 100644 --- a/tests/net/lib/lwm2m/interop/docker-test.sh +++ b/tests/net/lib/lwm2m/interop/docker-test.sh @@ -13,7 +13,7 @@ FWD="-p 8080:8080 -p 8081:8081 -p 5683:5683/udp" start_configuration "$IP $FWD" || return $? start_docker "/net-tools/start-leshan.sh" || return $? -twister -p native_posix -T ./ --enable-slow -vv +twister -p native_sim -T ./ --enable-slow -vv result=$?