Skip to content

Commit a8d56c4

Browse files
SeppoTakalocarlescufi
authored andcommitted
net: scripts: Use native_sim instead of native_posix
Sample tests should also be using native_sim board. Signed-off-by: Seppo Takalo <[email protected]>
1 parent 7b1813e commit a8d56c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/net/run-sample-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ start_zephyr ()
157157
fi
158158

159159
rm -rf build && mkdir build && \
160-
cmake -GNinja -DBOARD=native_posix -B build "$@" . && \
160+
cmake -GNinja -DBOARD=native_sim -B build "$@" . && \
161161
ninja -C build
162162

163163
# Run the binary directly so that ninja does not print errors that

tests/net/lib/lwm2m/interop/docker-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ FWD="-p 8080:8080 -p 8081:8081 -p 5683:5683/udp"
1313
start_configuration "$IP $FWD" || return $?
1414
start_docker "/net-tools/start-leshan.sh" || return $?
1515

16-
twister -p native_posix -T ./ --enable-slow -vv
16+
twister -p native_sim -T ./ --enable-slow -vv
1717

1818
result=$?
1919

0 commit comments

Comments
 (0)