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

drivers: ethernet: Disable drivers if tests are enabled #69244

Conversation

jukkar
Copy link
Member

@jukkar jukkar commented Feb 20, 2024

The network tests at tests/net use simulated network interfaces and set CONFIG_NET_TEST to indicate that. If the config option is set, then we do not want any extra Ethernet driver to complicate the testing scenario so all external Ethernet network interfaces should be disabled.

The network tests at tests/net use simulated network interfaces
and set CONFIG_NET_TEST to indicate that. If the config option
is set, then we do not want any extra Ethernet driver to
complicate the testing scenario so all external Ethernet
network interfaces should be disabled.

Signed-off-by: Jukka Rissanen <[email protected]>
@jukkar jukkar added this to the v3.7.0 milestone Feb 20, 2024
@zephyrbot zephyrbot added area: Ethernet Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. labels Feb 20, 2024
@zephyrbot zephyrbot requested a review from decsny February 20, 2024 13:36
@jukkar jukkar requested a review from rlubos February 20, 2024 13:37
@nashif nashif merged commit bf31b09 into zephyrproject-rtos:main Feb 26, 2024
26 checks passed
@jukkar jukkar deleted the devel/disable-ethernet-drv-when-running-tests branch February 26, 2024 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Ethernet area: Networking Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants