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

David Marchand
2026-03-03T16:29:23Z

On Thu, 19 Feb 2026 at 18:40, Bruce Richardson
<bruce.richardson@intel.com> wrote:
>
> 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(-)

Series applied, thanks.

--
David Marchand