[dpdk-dev] [PATCH 4/5] test: add library dependent tests under test-driver suite
Hari Kumar Vemula
hari.kumarx.vemula at intel.com
Fri Sep 21 17:58:47 CEST 2018
Added test cases that depend on library as cryptodev
Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula at intel.com>
---
test/test/meson.build | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/test/test/meson.build b/test/test/meson.build
index edda0b5b7..b3a9e7ef9 100644
--- a/test/test/meson.build
+++ b/test/test/meson.build
@@ -208,6 +208,25 @@ perf_test_names = [
['pmd_perf_autotest'],
]
+#All test cases in driver_test_names list are non-parallel
+driver_test_names = [
+ ['link_bonding_autotest'],
+ ['link_bonding_mode4_autotest'],
+ ['link_bonding_rssconf_autotest'],
+ ['cryptodev_sw_mrvl_autotest'],
+ ['cryptodev_dpaa2_sec_autotest'],
+ ['cryptodev_dpaa_sec_autotest'],
+ ['cryptodev_qat_autotest'],
+ ['cryptodev_aesni_mb_autotest'],
+ ['cryptodev_openssl_autotest'],
+ ['cryptodev_scheduler_autotest'],
+ ['cryptodev_aesni_gcm_autotest'],
+ ['cryptodev_null_autotest'],
+ ['cryptodev_sw_snow3g_autotest'],
+ ['cryptodev_sw_kasumi_autotest'],
+ ['cryptodev_sw_zuc_autotest'],
+]
+
if dpdk_conf.has('RTE_LIBRTE_PDUMP')
test_deps += 'pdump'
endif
@@ -281,11 +300,19 @@ if get_option('tests')
suite : 'test-fast')
endforeach
foreach arg : perf_test_names
- test(arg[0], dpdk_test,
+ test(arg[0], dpdk_test,
env : ['DPDK_TEST=' + arg[0]],
timeout : timeout_seconds,
is_parallel : false,
suite : 'test-perf')
endforeach
+ foreach arg : driver_test_names
+ test(arg[0], dpdk_test,
+ env : ['DPDK_TEST=' + arg[0]],
+ timeout : timeout_seconds,
+ is_parallel : false,
+ suite : 'test-driver')
+ endforeach
+
endif
--
2.13.6
More information about the dev
mailing list