[v5,07/10] app/test: add debug test suite
Checks
Commit Message
Add in for all platforms, the suite of tests to dump out the structure
information available. Since the commands are defined in commands.c on
all OS's, do not limit their presence to just the non-windows OS's.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
app/test/suites/meson.build | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
@@ -102,3 +102,23 @@ if not is_windows and dpdk_conf.has('RTE_LIB_TELEMETRY')
is_parallel : false,
suite : 'fast-tests')
endif
+
+# dump tests are defined in commands.c, and not easily extractable
+dump_test_names = [
+ 'dump_devargs',
+ 'dump_log_types',
+ 'dump_malloc_heaps',
+ 'dump_malloc_stats',
+ 'dump_mempool',
+ 'dump_memzone',
+ 'dump_physmem',
+ 'dump_ring',
+ 'dump_struct_sizes',
+]
+foreach arg : dump_test_names
+ test(arg, dpdk_test,
+ env : ['DPDK_TEST=' + arg],
+ timeout : timeout_seconds_fast,
+ is_parallel : false,
+ suite : 'debug-tests')
+endforeach