From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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: , X-List-Received-Date: Fri, 21 Sep 2018 15:59:31 -0000 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 -- 2.13.6