net: scripts: Use native_sim instead of native_posix

Sample tests should also be using native_sim board.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
This commit is contained in:
Seppo Takalo 2023-11-23 16:59:57 +02:00 committed by Carles Cufí
parent 7b1813e9dc
commit a8d56c4f1f
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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=$?