[PATCH 0/3] manage net/null dependency for tests

Bruce Richardson
2026-01-22T12:24:06Z

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. The final patch is an optional extra - it marks the null
driver down to always be built.

Bruce Richardson (3):
test/bpf: skip some testing if null net driver not present
test: fix missing dependency on null networking driver
drivers: always enable the null net driver [RFC]

app/test/meson.build | 4 ++--
app/test/test_bpf.c | 9 +++++++++
drivers/meson.build | 2 ++
3 files changed, 13 insertions(+), 2 deletions(-)

--
2.51.0