[PATCH v3 13/14] test/vdev: skip test if no null PMD

Stephen Hemminger
2026-01-22T00:55:27Z

The vdev test depends on the null PMD for testing.
Skip building the test if that is disabled.

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

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
app/test/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/meson.build b/app/test/meson.build
index d03e5f7339..ccddf1af8e 100644
--- a/app/test/meson.build
+++ b/app/test/meson.build
@@ -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': ['net_null', 'kvargs', 'bus_vdev'],
'test_version.c': [],
}

--
2.51.0