[v2,3/5] test: add performance tests under test-perf suite
Checks
Commit Message
From: Hari Kumar Vemula <hari.kumarx.vemula@intel.com>
Grouped performace test cases under test-perf category
Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula@intel.com>
---
test/test/meson.build | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
@@ -191,6 +191,32 @@ fast_non_parallel_test_names =[
'thash_autotest',
]
+#All test cases in perf_test_names list are non-parallel
+perf_test_names = [
+ 'ring_perf_autotest',
+ 'mempool_perf_autotest',
+ 'memcpy_perf_autotest',
+ 'hash_perf_autotest',
+ 'timer_perf_autotest',
+ 'reciprocal_division',
+ 'reciprocal_division_perf',
+ 'lpm_perf_autotest',
+ 'red_all',
+ 'barrier_autotest',
+ 'hash_multiwriter_autotest',
+ 'timer_racecond_autotest',
+ 'efd_autotest',
+ 'hash_functions_autotest',
+ 'eventdev_selftest_sw',
+ 'member_perf_autotest',
+ 'efd_perf_autotest',
+ 'lpm6_perf_autotest',
+ 'red_perf',
+ 'distributor_perf_autotest',
+ 'ring_pmd_perf_autotest',
+ 'pmd_perf_autotest',
+]
+
if dpdk_conf.has('RTE_LIBRTE_PDUMP')
test_deps += 'pdump'
endif
@@ -273,4 +299,12 @@ if get_option('tests')
suite : 'test-fast')
endforeach
+ foreach arg : perf_test_names
+ test(arg, dpdk_test,
+ env : ['DPDK_TEST=' + arg],
+ timeout : timeout_seconds,
+ is_parallel : false,
+ suite : 'test-perf')
+ endforeach
+
endif