From patchwork Fri Sep 21 15:58:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hari Kumar Vemula X-Patchwork-Id: 45118 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 134555398; Fri, 21 Sep 2018 17:59:30 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id A498A5323 for ; Fri, 21 Sep 2018 17:59:28 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2018 08:59:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,285,1534834800"; d="scan'208";a="92583289" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 21 Sep 2018 08:59:26 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w8LFxPX9023561; Fri, 21 Sep 2018 16:59:25 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id w8LFxDTq028517; Fri, 21 Sep 2018 16:59:13 +0100 Received: (from hvemulax@localhost) by wgcvswdev001.ir.intel.com with ? id w8LFxDBV028513; Fri, 21 Sep 2018 16:59:13 +0100 From: Hari Kumar Vemula To: dev@dpdk.org Cc: bruce.richardson@intel.com, reshma.pattan@intel.com, Hari Kumar Vemula Date: Fri, 21 Sep 2018 16:58:44 +0100 Message-Id: <1537545528-27848-2-git-send-email-hari.kumarx.vemula@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1537545528-27848-1-git-send-email-hari.kumarx.vemula@intel.com> References: <1537545528-27848-1-git-send-email-hari.kumarx.vemula@intel.com> Subject: [dpdk-dev] [PATCH 1/5] test: remove existing testcases for categorization X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Removed testcase list from meson build to categorize testcases into suites Signed-off-by: Hari Kumar Vemula --- test/test/meson.build | 104 -------------------------------------------------- 1 file changed, 104 deletions(-) diff --git a/test/test/meson.build b/test/test/meson.build index b1dd6eca2..a364d1aac 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -118,103 +118,6 @@ test_deps = ['acl', 'timer' ] -test_names = [ - 'acl_autotest', - 'alarm_autotest', - 'atomic_autotest', - 'barrier_autotest', - 'byteorder_autotest', - 'cmdline_autotest', - 'common_autotest', - 'cpuflags_autotest', - 'crc_autotest', - 'cryptodev_qat_autotest', - 'cryptodev_aesni_mb_autotest', - 'cryptodev_openssl_autotest', - 'cryptodev_openssl_asym_autotest', - 'cryptodev_aesni_gcm_autotest', - 'cryptodev_null_autotest', - 'cryptodev_sw_snow3g_autotest', - 'cryptodev_sw_kasumi_autotest', - 'cryptodev_sw_zuc_autotest', - 'cryptodev_sw_armv8_autotest', - 'cryptodev_sw_mvsam_autotest', - 'cryptodev_dpaa2_sec_autotest', - 'cryptodev_dpaa_sec_autotest', - 'cycles_autotest', - 'debug_autotest', - 'devargs_autotest', - 'distributor_autotest', - 'distributor_perf_autotest', - 'eal_flags_autotest', - 'eal_fs_autotest', - 'efd_autotest', - 'efd_perf_autotest', - 'errno_autotest', - 'event_ring_autotest', - 'eventdev_common_autotest', - 'eventdev_octeontx_autotest', - 'eventdev_sw_autotest', - 'func_reentrancy_autotest', - 'flow_classify_autotest', - 'hash_scaling_autotest', - 'hash_autotest', - 'hash_functions_autotest', - 'hash_multiwriter_autotest', - 'hash_perf_autotest', - 'interrupt_autotest', - 'kni_autotest', - 'kvargs_autotest', - 'link_bonding_autotest', - 'link_bonding_mode4_autotest', - 'logs_autotest', - 'lpm6_autotest', - 'lpm6_perf_autotest', - 'lpm_autotest', - 'lpm_perf_autotest', - 'malloc_autotest', - 'mbuf_autotest', - 'member_autotest', - 'member_perf_autotest', - 'memcpy_autotest', - 'memcpy_perf_autotest', - 'memory_autotest', - 'mempool_autotest', - 'mempool_perf_autotest', - 'memzone_autotest', - 'meter_autotest', - 'multiprocess_autotest', - 'per_lcore_autotest', - 'pmd_perf_autotest', - 'power_acpi_cpufreq_autotest', - 'power_autotest', - 'power_kvm_vm_autotest', - 'prefetch_autotest', - 'reciprocal_division', - 'reciprocal_division_perf', - 'red_all', - 'red_autotest', - 'red_perf', - 'reorder_autotest', - 'ring_autotest', - 'ring_perf_autotest', - 'ring_pmd_autotest', - 'ring_pmd_perf_autotest', - 'rwlock_autotest', - 'sched_autotest', - 'service_autotest', - 'spinlock_autotest', - 'string_autotest', - 'table_autotest', - 'tailq_autotest', - 'thash_autotest', - 'timer_autotest', - 'timer_perf__autotest', - 'timer_racecond_autotest', - 'user_delay_us', - 'version_autotest', -] - if dpdk_conf.has('RTE_LIBRTE_PDUMP') test_deps += 'pdump' endif @@ -273,12 +176,5 @@ if get_option('tests') # some perf tests (eg: memcpy perf autotest)take very long # to complete, so timeout to 10 minutes - timeout_seconds = 600 - foreach t:test_names - test(t, dpdk_test, - env : ['DPDK_TEST='+t], - timeout : timeout_seconds, - is_parallel : false) - endforeach endif From patchwork Fri Sep 21 15:58:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hari Kumar Vemula X-Patchwork-Id: 45119 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 435AB58FA; Fri, 21 Sep 2018 17:59:33 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 00AD65689 for ; Fri, 21 Sep 2018 17:59:30 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2018 08:59:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,285,1534834800"; d="scan'208";a="74908652" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga007.jf.intel.com with ESMTP; 21 Sep 2018 08:59:28 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w8LFxSag023564; Fri, 21 Sep 2018 16:59:28 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id w8LFxF0P028540; Fri, 21 Sep 2018 16:59:15 +0100 Received: (from hvemulax@localhost) by wgcvswdev001.ir.intel.com with ? id w8LFxFL2028536; Fri, 21 Sep 2018 16:59:15 +0100 From: Hari Kumar Vemula To: dev@dpdk.org Cc: bruce.richardson@intel.com, reshma.pattan@intel.com, Hari Kumar Vemula Date: Fri, 21 Sep 2018 16:58:45 +0100 Message-Id: <1537545528-27848-3-git-send-email-hari.kumarx.vemula@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1537545528-27848-1-git-send-email-hari.kumarx.vemula@intel.com> References: <1537545528-27848-1-git-send-email-hari.kumarx.vemula@intel.com> Subject: [dpdk-dev] [PATCH 2/5] test: add quick run tests under test-fast suite X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Added test cases that runs quickly under test fast category Signed-off-by: Hari Kumar Vemula --- test/test/meson.build | 89 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 83 insertions(+), 6 deletions(-) diff --git a/test/test/meson.build b/test/test/meson.build index a364d1aac..087d635e1 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -118,6 +118,70 @@ test_deps = ['acl', 'timer' ] +fast_test_names =[ + ['acl_autotest', 'parallel', true], + ['alarm_autotest', 'parallel', true], + ['atomic_autotest', 'parallel', true], + ['byteorder_autotest', 'parallel', true], + ['cryptodev_sw_armv8_autotest', 'non-parallel', false], + ['cmdline_autotest', 'parallel', true], + ['common_autotest', 'parallel', true], + ['cpuflags_autotest', 'parallel', true], + ['crc_autotest', 'non-parallel', false], + ['cryptodev_openssl_asym_autotest', 'non-parallel', false], + ['cryptodev_sw_mvsam_autotest', 'non-parallel', false], + ['cycles_autotest', 'parallel', true], + ['debug_autotest', 'parallel', true], + ['devargs_autotest', 'non-parallel', false], + ['distributor_autotest', 'non-parallel', false], + ['eal_flags_autotest', 'parallel', true], + ['eal_fs_autotest', 'parallel', true], + ['errno_autotest', 'parallel', true], + ['event_ring_autotest', 'parallel', true], + ['eventdev_common_autotest', 'non-parallel', false], + ['eventdev_octeontx_autotest', 'non-parallel', false], + ['eventdev_sw_autotest', 'non-parallel', false], + ['func_reentrancy_autotest', 'parallel', true], + ['flow_classify_autotest', 'parallel', true], + ['hash_scaling_autotest', 'non-parallel', false], + ['hash_autotest', 'parallel', true], + ['interrupt_autotest', 'parallel', true], + ['kni_autotest', 'non-parallel', false], + ['kvargs_autotest', 'non-parallel', false], + ['logs_autotest', 'parallel', true], + ['lpm6_autotest', 'parallel', true], + ['lpm_autotest', 'parallel', true], + ['malloc_autotest', 'parallel', true], + ['mbuf_autotest', 'parallel', true], + ['member_autotest', 'non-parallel', false], + ['memcpy_autotest', 'parallel', true], + ['memory_autotest', 'parallel', true], + ['mempool_autotest', 'parallel', true], + ['memzone_autotest', 'parallel', true], + ['meter_autotest', 'parallel', true], + ['multiprocess_autotest', 'parallel', true], + ['per_lcore_autotest', 'parallel', true], + ['power_acpi_cpufreq_autotest', 'non-parallel', false], + ['power_autotest', 'non-parallel', false], + ['power_kvm_vm_autotest', 'non-parallel', false], + ['prefetch_autotest', 'parallel', true], + ['red_autotest', 'parallel', true], + ['reorder_autotest', 'non-parallel', false], + ['ring_autotest', 'parallel', true], + ['ring_pmd_autotest', 'parallel', true], + ['rwlock_autotest', 'parallel', true], + ['sched_autotest', 'parallel', true], + ['service_autotest', 'non-parallel', false], + ['spinlock_autotest', 'parallel', true], + ['string_autotest', 'parallel', true], + ['table_autotest', 'parallel', true], + ['tailq_autotest', 'parallel', true], + ['thash_autotest', 'non-parallel', false], + ['timer_autotest', 'parallel', true], + ['user_delay_us', 'parallel', true], + ['version_autotest', 'parallel', true], +] + if dpdk_conf.has('RTE_LIBRTE_PDUMP') test_deps += 'pdump' endif @@ -146,12 +210,15 @@ if cc.has_argument('-Wno-format-truncation') endif test_dep_objs = [] -compress_test_dep = dependency('zlib', required: false) -if compress_test_dep.found() - test_dep_objs += compress_test_dep - test_sources += 'test_compressdev.c' - test_deps += 'compressdev' - test_names += 'compressdev_autotest' +if dpdk_conf.has('RTE_LIBRTE_COMPRESSDEV') + compress_test_dep = dependency('zlib', required: false) + if compress_test_dep.found() + test_dep_objs += compress_test_dep + test_sources += 'test_compressdev.c' + test_deps += 'compressdev' + compressdev_test = [['compressdev_autotest', 'non-parallel', false]] + fast_test_names += compressdev_test + endif endif foreach d:test_deps @@ -176,5 +243,15 @@ if get_option('tests') # some perf tests (eg: memcpy perf autotest)take very long # to complete, so timeout to 10 minutes + timeout_seconds_fast = 10 + + foreach arg : fast_test_names + bool_value = arg[2] + test(arg[0], dpdk_test, + env : ['DPDK_TEST=' + arg[0]], + timeout : timeout_seconds_fast, + is_parallel : bool_value, + suite : 'test-fast') + endforeach endif From patchwork Fri Sep 21 15:58:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hari Kumar Vemula X-Patchwork-Id: 45121 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0F9DC5B32; Fri, 21 Sep 2018 17:59:37 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 867D05920 for ; Fri, 21 Sep 2018 17:59:33 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2018 08:59:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,285,1534834800"; d="scan'208";a="264629689" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga005.fm.intel.com with ESMTP; 21 Sep 2018 08:59:31 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w8LFxVw0023570; Fri, 21 Sep 2018 16:59:31 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id w8LFxI0l028551; Fri, 21 Sep 2018 16:59:18 +0100 Received: (from hvemulax@localhost) by wgcvswdev001.ir.intel.com with ? id w8LFxI3W028545; Fri, 21 Sep 2018 16:59:18 +0100 From: Hari Kumar Vemula To: dev@dpdk.org Cc: bruce.richardson@intel.com, reshma.pattan@intel.com, Hari Kumar Vemula Date: Fri, 21 Sep 2018 16:58:46 +0100 Message-Id: <1537545528-27848-4-git-send-email-hari.kumarx.vemula@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1537545528-27848-1-git-send-email-hari.kumarx.vemula@intel.com> References: <1537545528-27848-1-git-send-email-hari.kumarx.vemula@intel.com> Subject: [dpdk-dev] [PATCH 3/5] test: add performance tests under test-perf suite X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Grouped performace test cases under test-perf category Signed-off-by: Hari Kumar Vemula --- test/test/meson.build | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/test/test/meson.build b/test/test/meson.build index 087d635e1..edda0b5b7 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -182,6 +182,32 @@ fast_test_names =[ ['version_autotest', 'parallel', true], ] +#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 @@ -244,6 +270,7 @@ if get_option('tests') # some perf tests (eg: memcpy perf autotest)take very long # to complete, so timeout to 10 minutes timeout_seconds_fast = 10 + timeout_seconds = 600 foreach arg : fast_test_names bool_value = arg[2] @@ -253,5 +280,12 @@ if get_option('tests') is_parallel : bool_value, suite : 'test-fast') endforeach + foreach arg : perf_test_names + test(arg[0], dpdk_test, + env : ['DPDK_TEST=' + arg[0]], + timeout : timeout_seconds, + is_parallel : false, + suite : 'test-perf') + endforeach endif From patchwork Fri Sep 21 15:58:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hari Kumar Vemula X-Patchwork-Id: 45123 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3D4085F19; Fri, 21 Sep 2018 17:59:59 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1D0435F19 for ; Fri, 21 Sep 2018 17:59:57 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2018 08:59:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,285,1534834800"; d="scan'208";a="93757168" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 21 Sep 2018 08:59:34 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w8LFxXfd023573; Fri, 21 Sep 2018 16:59:34 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id w8LFxLT5028563; Fri, 21 Sep 2018 16:59:21 +0100 Received: (from hvemulax@localhost) by wgcvswdev001.ir.intel.com with ? id w8LFxLID028559; Fri, 21 Sep 2018 16:59:21 +0100 From: Hari Kumar Vemula To: dev@dpdk.org Cc: bruce.richardson@intel.com, reshma.pattan@intel.com, Hari Kumar Vemula Date: Fri, 21 Sep 2018 16:58:47 +0100 Message-Id: <1537545528-27848-5-git-send-email-hari.kumarx.vemula@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1537545528-27848-1-git-send-email-hari.kumarx.vemula@intel.com> References: <1537545528-27848-1-git-send-email-hari.kumarx.vemula@intel.com> Subject: [dpdk-dev] [PATCH 4/5] test: add library dependent tests under test-driver suite X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Added test cases that depend on library as cryptodev Signed-off-by: Hari Kumar Vemula --- 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 From patchwork Fri Sep 21 15:58:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hari Kumar Vemula X-Patchwork-Id: 45122 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 12A9A5F0D; Fri, 21 Sep 2018 17:59:48 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 265305B40 for ; Fri, 21 Sep 2018 17:59:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2018 08:59:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,285,1534834800"; d="scan'208";a="85489412" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga003.jf.intel.com with ESMTP; 21 Sep 2018 08:59:38 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w8LFxbOr023579; Fri, 21 Sep 2018 16:59:37 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id w8LFxP7U028575; Fri, 21 Sep 2018 16:59:25 +0100 Received: (from hvemulax@localhost) by wgcvswdev001.ir.intel.com with ? id w8LFxPu3028571; Fri, 21 Sep 2018 16:59:25 +0100 From: Hari Kumar Vemula To: dev@dpdk.org Cc: bruce.richardson@intel.com, reshma.pattan@intel.com, Hari Kumar Vemula Date: Fri, 21 Sep 2018 16:58:48 +0100 Message-Id: <1537545528-27848-6-git-send-email-hari.kumarx.vemula@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1537545528-27848-1-git-send-email-hari.kumarx.vemula@intel.com> References: <1537545528-27848-1-git-send-email-hari.kumarx.vemula@intel.com> Subject: [dpdk-dev] [PATCH 5/5] test: add dump test cases under test-dump suite X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Grouped logging or dump related test cases to test-dump category Signed-off-by: Hari Kumar Vemula --- 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