Skip to content

Conversation

kartben
Copy link
Contributor

@kartben kartben commented Aug 26, 2025

As per its README, the sample's target of choice is nrf5340dk so update Twister file accordingly.

As per its README, the sample's target of choice is nrf5340dk so update
Twister file accordingly.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Copy link
Contributor

@dsseng dsseng Aug 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these tests make sense and are quite important to catch regressions and I even expanded them in #94790. It would be in the scope of this PR to find a more suitable place for these test cases

Could you maybe move these targets to tests to make sure this PR does not reduce test coverage? Samples are being run as integration tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you maybe move these targets to tests to make sure this PR does not reduce test coverage? Samples are being run as integration tests.

I would really hope that's something someone more familiar with the IPC subsystem and Nordic targets can do.

Samples are being run as integration tests.

They really really should not, please

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would really hope that's something someone more familiar with the IPC subsystem and Nordic targets can do.

Well, I guess it's safe to say this sample does not contribute to coverage that much, it should probably have enough coverage from the stuff under tests/. Will check on BabbleSim in scope of #94790

They really really should not, please

Ok, thanks for clarification. So samples' tests are supposed to test the sample code and not exercise some extra configs to improve coverage? They should only have configs that are expected to be run by normal users when exploring?

Copy link

@dsseng
Copy link
Contributor

dsseng commented Aug 26, 2025

Tests and coverage against #94790:

With all in samples/subsys/ipc tested:
image

Only ran tests:
image

So, should we run this sample test in CI maybe at least for nrf5340bsim? @kartben wdyt? Tests do not cover icbmsg at the moment and I could not make it run properly on icbmsg in time I dedicate to that

@nordic-segl nordic-segl requested a review from carlescufi August 26, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: IPC Inter-Process Communication area: Samples Samples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants