[PATCH v5 07/10] app/test: add debug test suite
Bruce Richardson
bruce.richardson at intel.com
Tue Aug 15 17:10:51 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 2b428847c6..8cf498ac52 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