DPDK patches and discussions
 help / color / mirror / Atom feed
From: Hari Kumar Vemula <hari.kumarx.vemula@intel.com>
To: dev@dpdk.org
Cc: bruce.richardson@intel.com, reshma.pattan@intel.com,
	Hari Kumar Vemula <hari.kumarx.vemula@intel.com>
Subject: [dpdk-dev] [PATCH 2/5] test: add quick run tests under test-fast suite
Date: Fri, 21 Sep 2018 16:58:45 +0100	[thread overview]
Message-ID: <1537545528-27848-3-git-send-email-hari.kumarx.vemula@intel.com> (raw)
In-Reply-To: <1537545528-27848-1-git-send-email-hari.kumarx.vemula@intel.com>

Added test cases that runs quickly under test fast category

Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula@intel.com>
---
 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

  parent reply	other threads:[~2018-09-21 15:59 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-21 15:58 [dpdk-dev] [PATCH 0/5] create different meson test targets Hari Kumar Vemula
2018-09-21 15:58 ` [dpdk-dev] [PATCH 1/5] test: remove existing testcases for categorization Hari Kumar Vemula
2018-09-21 15:58 ` Hari Kumar Vemula [this message]
2018-09-21 16:18   ` [dpdk-dev] [PATCH 2/5] test: add quick run tests under test-fast suite Bruce Richardson
2018-09-21 15:58 ` [dpdk-dev] [PATCH 3/5] test: add performance tests under test-perf suite Hari Kumar Vemula
2018-09-21 15:58 ` [dpdk-dev] [PATCH 4/5] test: add library dependent tests under test-driver suite Hari Kumar Vemula
2018-09-21 15:58 ` [dpdk-dev] [PATCH 5/5] test: add dump test cases under test-dump suite Hari Kumar Vemula
2018-10-12 14:33 ` [dpdk-dev] [PATCH v2 0/5] create different meson test targets Hari kumar Vemula
2018-10-23 11:01   ` [dpdk-dev] [PATCH v3 " Hari kumar Vemula
2018-10-23 11:01   ` [dpdk-dev] [PATCH v3 1/5] test: remove existing testcases for categorization Hari kumar Vemula
2018-10-23 11:01   ` [dpdk-dev] [PATCH v3 2/5] test: add quick run tests under test-fast suite Hari kumar Vemula
2018-10-23 13:55     ` Pattan, Reshma
2018-10-23 11:01   ` [dpdk-dev] [PATCH v3 3/5] test: add performance tests under test-perf suite Hari kumar Vemula
2018-10-23 11:01   ` [dpdk-dev] [PATCH v3 4/5] test: add library dependent tests under test-driver suite Hari kumar Vemula
2018-10-23 11:01   ` [dpdk-dev] [PATCH v3 5/5] test: add dump test cases under test-dump suite Hari kumar Vemula
2018-10-24  9:07   ` [dpdk-dev] [PATCH v4 0/5] create different meson test targets Hari kumar Vemula
2018-10-24 10:43     ` Bruce Richardson
2018-10-25  6:49     ` [dpdk-dev] [PATCH v5 " Hari Kumar Vemula
2019-01-18  0:11       ` Thomas Monjalon
2019-01-18 17:40       ` [dpdk-dev] [PATCH v6 " Hari Kumar Vemula
2019-01-18 17:40         ` [dpdk-dev] [PATCH v6 1/5] test: remove existing testcases for categorization Hari Kumar Vemula
2019-01-18 17:40         ` [dpdk-dev] [PATCH v6 2/5] test: add quick run tests under fast-tests suite Hari Kumar Vemula
2019-01-18 17:40         ` [dpdk-dev] [PATCH v6 3/5] test: add performance tests under perf-tests suite Hari Kumar Vemula
2019-01-18 17:40         ` [dpdk-dev] [PATCH v6 4/5] test: add driver dependent tests under driver-tests suite Hari Kumar Vemula
2019-01-18 17:40         ` [dpdk-dev] [PATCH v6 5/5] test: add dump test cases under debug-tests suite Hari Kumar Vemula
2019-01-19  0:06         ` [dpdk-dev] [PATCH v6 0/5] create different meson test targets Thomas Monjalon
2018-10-25  6:49     ` [dpdk-dev] [PATCH v5 1/5] test: remove existing testcases for categorization Hari Kumar Vemula
2018-10-25  6:50     ` [dpdk-dev] [PATCH v5 2/5] test: add quick run tests under fast-tests suite Hari Kumar Vemula
2018-10-25  6:50     ` [dpdk-dev] [PATCH v5 3/5] test: add performance tests under perf-tests suite Hari Kumar Vemula
2018-10-25  6:50     ` [dpdk-dev] [PATCH v5 4/5] test: add driver dependent tests under driver-tests suite Hari Kumar Vemula
2018-10-25  6:50     ` [dpdk-dev] [PATCH v5 5/5] test: add dump test cases under debug-tests suite Hari Kumar Vemula
2018-10-24  9:07   ` [dpdk-dev] [PATCH v4 1/5] test: remove existing testcases for categorization Hari kumar Vemula
2018-10-24  9:07   ` [dpdk-dev] [PATCH v4 2/5] test: add quick run tests under test-fast suite Hari kumar Vemula
2018-10-24  9:07   ` [dpdk-dev] [PATCH v4 3/5] test: add performance tests under test-perf suite Hari kumar Vemula
2018-10-24  9:07   ` [dpdk-dev] [PATCH v4 4/5] test: add library dependent tests under test-driver suite Hari kumar Vemula
2018-10-24 10:17     ` Bruce Richardson
2018-10-24  9:07   ` [dpdk-dev] [PATCH v4 5/5] test: add dump test cases under test-dump suite Hari kumar Vemula
2018-10-24 10:16     ` Bruce Richardson
2018-10-12 14:33 ` [dpdk-dev] [PATCH v2 1/5] test: remove existing testcases for categorization Hari kumar Vemula
2018-10-12 14:33 ` [dpdk-dev] [PATCH v2 2/5] test: add quick run tests under test-fast suite Hari kumar Vemula
2018-10-17 16:18   ` Pattan, Reshma
2018-10-17 16:22   ` Pattan, Reshma
2018-10-17 16:32   ` Pattan, Reshma
2018-10-12 14:33 ` [dpdk-dev] [PATCH v2 3/5] test: add performance tests under test-perf suite Hari kumar Vemula
2018-10-12 14:33 ` [dpdk-dev] [PATCH v2 4/5] test: add library dependent tests under test-driver suite Hari kumar Vemula
2018-10-12 14:33 ` [dpdk-dev] [PATCH v2 5/5] test: add dump test cases under test-dump suite Hari kumar Vemula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1537545528-27848-3-git-send-email-hari.kumarx.vemula@intel.com \
    --to=hari.kumarx.vemula@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=reshma.pattan@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).