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