[PATCH v2 0/4] improve net/null dependency handling for tests

Bruce Richardson
2026-02-19T17:40:05Z

A number of unit tests take advantage of net_null driver to use
as a dummy packet source. When this driver is disabled we then get
tests failures in fast-tests. Fix these by recording the dependency
appropriately or by skipping test sections if the dependency isn't
present.

V2: reworked changes following feedback, discussion and other upstream
changes

Bruce Richardson (4):
test/event_eth_rx_adapter: skip tests if no ethdevs
test/event_eth_tx_adapter: remove dependency on NULL PMD
test: fix missing dependency on null networking driver
build/tests: add warning for missing NULL PMD dependency

app/test/meson.build | 10 ++++++++--
app/test/test_event_eth_rx_adapter.c | 14 ++++++++++----
app/test/test_event_eth_tx_adapter.c | 4 ++++
3 files changed, 22 insertions(+), 6 deletions(-)

--
2.51.0