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

Hari Kumar Vemula hari.kumarx.vemula at intel.com
Fri Sep 21 17:58:48 CEST 2018


Grouped logging or dump related test cases to test-dump category

Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula at intel.com>
---
 test/test/meson.build | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/test/test/meson.build b/test/test/meson.build
index b3a9e7ef9..f6ba600b7 100644
--- a/test/test/meson.build
+++ b/test/test/meson.build
@@ -227,6 +227,20 @@ 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'],
+        ['quit_autotest'],
+        ['dump_physmem'],
+        ['dump_memzone'],
+        ['devargs_autotest'],
+]
+
 if dpdk_conf.has('RTE_LIBRTE_PDUMP')
 	test_deps += 'pdump'
 endif
@@ -313,6 +327,12 @@ if get_option('tests')
                         is_parallel : false,
                         suite : 'test-driver')
         endforeach
-
+        foreach arg : dump_test_names
+		test(arg[0], dpdk_test,
+			env : ['DPDK_TEST=' + arg[0]],
+                        timeout : timeout_seconds,
+                        is_parallel : false,
+                        suite : 'test-dump')
+        endforeach
 
 endif
-- 
2.13.6



More information about the dev mailing list