-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
location: twister+pytest test for native_sim and playback data #730
base: main
Are you sure you want to change the base?
Conversation
Visit the preview URL for this PR (updated for commit d6dbd0c): https://golioth-firmware-sdk-doxygen-dev--pr730-location-twist-i5zp8gfh.web.app (expires Wed, 29 Jan 2025 11:29:31 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: a9993e61697a3983f3479e468bcb0b616f9a0578 |
c394b4a
to
0463d0f
Compare
b96c6c7
to
e3addef
Compare
examples/zephyr/location/sample.yaml
Outdated
- CONFIG_GOLIOTH_WIFI_PLAYBACK=n | ||
- CONFIG_GOLIOTH_SAMPLE_TWISTER_TEST=y | ||
- arch:posix:CONFIG_NATIVE_UART_0_ON_STDINOUT=y | ||
- CONFIG_GOLIOTH_CELLULAR_PLAYBACK=n |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- CONFIG_GOLIOTH_CELLULAR_PLAYBACK=n | |
- CONFIG_GOLIOTH_WIFI_PLAYBACK=n |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Updated and retested locally with dev:
INFO - 1/4 native_sim/native/64 sample.golioth.location NOT RUN (build)
INFO - sample.golioth.location NOT RUN Test was built only
INFO - 2/4 native_sim/native/64 sample.golioth.location.playback.wifi PASSED (native 12.779s)
INFO - sample.golioth.location.playback.wifi.test_location PASSED
INFO - 3/4 native_sim/native/64 sample.golioth.location.playback.cellular PASSED (native 27.618s)
INFO - sample.golioth.location.playback.cellular.test_location PASSED
INFO - 4/4 native_sim/native/64 sample.golioth.location.playback PASSED (native 37.775s)
INFO - sample.golioth.location.playback.test_location PASSED
INFO - 4 test scenarios (4 configurations) selected, 0 configurations filtered (0 by static filter, 0 at runtime).
0463d0f
to
3b33bd3
Compare
e3addef
to
4ecc5ac
Compare
Rely on playback data to result in accurate location data. Wait for first 3 locations and match logged data with expected position. Signed-off-by: Marcin Niestroj <[email protected]>
4ecc5ac
to
d6dbd0c
Compare
There are 3 runtime tests:
all executed using
native_sim
platform and playback data.Supersedes: #725