[dpdk-dev] [PATCH v6 5/5] test: add dump test cases under debug-tests suite

Hari Kumar Vemula hari.kumarx.vemula at intel.com
Fri Jan 18 18:40:48 CET 2019


Grouped logging or dump related test cases to test debug category

Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 test/test/meson.build | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/test/test/meson.build b/test/test/meson.build
index d56c525ea..318e0454d 100644
--- a/test/test/meson.build
+++ b/test/test/meson.build
@@ -258,6 +258,18 @@ driver_test_names = [
         'cryptodev_sw_zuc_autotest',
 ]
 
+#All test cases in dump_test_names list are non-parallel
+dump_test_names = [
+        'dump_struct_sizes',
+        'dump_mempool',
+        'dump_malloc_stats',
+        'dump_devargs',
+        'dump_log_types',
+        'dump_ring',
+        'dump_physmem',
+        'dump_memzone',
+]
+
 if dpdk_conf.has('RTE_LIBRTE_PDUMP')
 	test_deps += 'pdump'
 endif
@@ -355,4 +367,12 @@ if get_option('tests')
 			is_parallel : false,
 			suite : 'driver-tests')
 	endforeach
+
+	foreach arg : dump_test_names
+		test(arg, dpdk_test,
+			env : ['DPDK_TEST=' + arg],
+			timeout : timeout_seconds,
+			is_parallel : false,
+			suite : 'debug-tests')
+	endforeach
 endif
-- 
2.17.2



More information about the dev mailing list