From: Bruce Richardson <bruce.richardson@intel.com>
To: Hari Kumar Vemula <hari.kumarx.vemula@intel.com>
Cc: dev@dpdk.org, reshma.pattan@intel.com
Subject: Re: [dpdk-dev] [PATCH 2/5] test: add quick run tests under test-fast suite
Date: Fri, 21 Sep 2018 17:18:06 +0100 [thread overview]
Message-ID: <20180921161806.GA21248@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <1537545528-27848-3-git-send-email-hari.kumarx.vemula@intel.com>
On Fri, Sep 21, 2018 at 04:58:45PM +0100, Hari Kumar Vemula wrote:
> 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],
<snip>
> + ['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
arg[1] is unused here, and seems to be just for reference. It's also
strange assigning arg[2] to a variable, while arg[0] is not.
How about creating 2 lists, fast_tests_parallel and fast_test_nonparallel?
/Bruce
next prev parent reply other threads:[~2018-09-21 16:18 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 ` [dpdk-dev] [PATCH 2/5] test: add quick run tests under test-fast suite Hari Kumar Vemula
2018-09-21 16:18 ` Bruce Richardson [this message]
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=20180921161806.GA21248@bricha3-MOBL.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=hari.kumarx.vemula@intel.com \
--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).