Skip to content
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

Add Native SIM Socket virtual can #17

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

MP-StefanKraus
Copy link

This PR adds capabilities to search and use virtual CAN devices in
different native_sim test executions. Hereby, each execution gets its
own virtual can device so no interference happens. If no vcan is found,
it uses the one from device tree, but prints a warning before.

This is not the cleanest solution, but works in our tests and fixes
scaling problem for protocol tests without hardware

Dalachowsky and others added 2 commits August 6, 2024 08:47
This commit introduces the ability to set the CAN
interface from command-line. This is helpful
if we want to run multiple instances of the app
with different CAN interfaces without making
separate compilations for each instance.

Signed-off-by: Kacper Dalach <[email protected]>
This change adds capabilities to search and use virtual CAN devices in
different native_sim test executions. Hereby, each execution gets its
own virtual can device so no interference happens. If no vcan is found,
it uses the one from device tree, but prints a warning before.

This is not the cleanest solution, but works in our tests and fixes
scaling problem for protocol tests without hardware

Signed-off-by: Stefan Kraus <[email protected]>
@schlotter schlotter merged commit 49c1f6a into ZEISS:zeiss/v3.6.0 Aug 6, 2024
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants