[PATCH v2 3/4] test: fix missing dependency on null networking driver

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

A number of tests depend upon the null networking driver in order to
run, so record that dependency in the meson file, so they are skipped if
it's not present.

Fixes: 50823f30f0c8 ("test: build using per-file dependencies")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
app/test/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test/meson.build b/app/test/meson.build
index 4fd8670e05..31c966d97e 100644
--- a/app/test/meson.build
+++ b/app/test/meson.build
@@ -112,7 +112,7 @@ source_file_deps = {
'net'] + packet_burst_generator_deps + virtual_pmd_deps,
'test_link_bonding_mode4.c': ['ethdev', 'net_ring', 'net_bond',
'net'] + packet_burst_generator_deps,
- 'test_link_bonding_rssconf.c': ['ethdev', 'bus_vdev', 'net_bond'],
+ 'test_link_bonding_rssconf.c': ['ethdev', 'bus_vdev', 'net_bond', 'net_null'],
'test_logs.c': [],
'test_lpm.c': ['net', 'lpm'],
'test_lpm6.c': ['lpm'],
@@ -209,7 +209,7 @@ source_file_deps = {
'test_trace.c': [],
'test_trace_perf.c': [],
'test_trace_register.c': [],
- 'test_vdev.c': ['kvargs', 'bus_vdev'],
+ 'test_vdev.c': ['kvargs', 'bus_vdev', 'net_null'],
'test_version.c': [],
}

--
2.51.0