-
Notifications
You must be signed in to change notification settings - Fork 11
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
tests: hil: run HIL tests on 'native_sim' and generate coverage data #590
Conversation
Visit the preview URL for this PR (updated for commit f5b6de7): https://golioth-firmware-sdk-doxygen-dev--pr590-native-sim-cov-z6t6hcd6.web.app (expires Tue, 24 Sep 2024 17:03:27 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: a9993e61697a3983f3479e468bcb0b616f9a0578 |
9de8cb9
to
06b6dd7
Compare
Code Coverage (Linux)
|
fb8b3cb
to
b09fe26
Compare
9865dea
to
1b6d7d2
Compare
1b6d7d2
to
a2be4c7
Compare
Implement 'send_all()' async method for sending data to (real or virtual) board. This will allow to communicate with virtual boards in the same way (with the same API) as with real boards. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
Add configuration overlays for 'hil' application, so that networking is configured on native_sim Zephyr platform. Add support for 'native_sim' board with NativeSimBoard class, which is a hybrid of LinuxBoard and ZephyrBoard. Override 'started()' method, so native_sim process is executed as part of it automatically. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
Execute HIL tests on 'native_sim' platform. Enable coverage data generation, collect it and merge it together with Twister generated sample coverage. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
a2be4c7
to
f5b6de7
Compare
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.
Awesome work @mniestroj! I'm stoked to get this in.
Contains changes (1 commit) from: #581