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:
parent
7b1813e9dc
commit
a8d56c4f1f
|
@ -157,7 +157,7 @@ start_zephyr ()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf build && mkdir build && \
|
rm -rf build && mkdir build && \
|
||||||
cmake -GNinja -DBOARD=native_posix -B build "$@" . && \
|
cmake -GNinja -DBOARD=native_sim -B build "$@" . && \
|
||||||
ninja -C build
|
ninja -C build
|
||||||
|
|
||||||
# Run the binary directly so that ninja does not print errors that
|
# Run the binary directly so that ninja does not print errors that
|
||||||
|
|
|
@ -13,7 +13,7 @@ FWD="-p 8080:8080 -p 8081:8081 -p 5683:5683/udp"
|
||||||
start_configuration "$IP $FWD" || return $?
|
start_configuration "$IP $FWD" || return $?
|
||||||
start_docker "/net-tools/start-leshan.sh" || 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=$?
|
result=$?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue