[PATCH v6 08/11] app/test: add debug test suite

Bruce Richardson bruce.richardson at intel.com
Wed Aug 16 17:34:36 CEST 2023


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 at intel.com>
---
 app/test/suites/meson.build | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/app/test/suites/meson.build b/app/test/suites/meson.build
index eddf332156..19a6b902fa 100644
--- a/app/test/suites/meson.build
+++ b/app/test/suites/meson.build
@@ -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
-- 
2.39.2



More information about the dev mailing list