test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: Lijuan Tu <lijuanx.a.tu@intel.com>, dts@dpdk.org
Subject: Re: [dts] [PATCH]tests cmdline, unit eal: extend ICC compilation time
Date: Fri, 04 Dec 2015 08:54:20 +0800	[thread overview]
Message-ID: <5660E43C.2000101@intel.com> (raw)
In-Reply-To: <1449044449-5603-1-git-send-email-lijuanx.a.tu@intel.com>

Applied. Thanks.

On 12/02/2015 04:20 PM, Lijuan Tu wrote:
> Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
> ---
>   tests/TestSuite_unit_tests_cmdline.py | 6 +++++-
>   tests/TestSuite_unit_tests_eal.py     | 6 +++++-
>   2 files changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_unit_tests_cmdline.py b/tests/TestSuite_unit_tests_cmdline.py
> index 3ece175..e3a29ee 100644
> --- a/tests/TestSuite_unit_tests_cmdline.py
> +++ b/tests/TestSuite_unit_tests_cmdline.py
> @@ -56,7 +56,11 @@ class TestUnitTestsCmdline(TestCase):
>           """
>           Run at the start of each test suite.
>           """
> -        out = self.dut.build_dpdk_apps('./app/test/')
> +        # icc compilation cost long long time.
> +        if "icc" in self.target:
> +            out = self.dut.send_expect("make -j -C ./app/test/", "# ", 300)
> +        else:
> +            out = self.dut.build_dpdk_apps('./app/test/')
>           self.verify('make: Leaving directory' in out, "Compilation failed")
>   
>       def set_up(self):
> diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
> index 040b3b9..663e961 100644
> --- a/tests/TestSuite_unit_tests_eal.py
> +++ b/tests/TestSuite_unit_tests_eal.py
> @@ -30,7 +30,11 @@ class TestUnitTestsEal(TestCase):
>           """
>           Run at the start of each test suite.
>           """
> -        out = self.dut.build_dpdk_apps('./app/test/')
> +        # icc compilation cost long long time.
> +        if "icc" in self.target:
> +            out = self.dut.send_expect("make -j -C ./app/test/", "# ", 300)
> +        else:
> +            out = self.dut.build_dpdk_apps('./app/test/')
>           self.verify('make: Leaving directory' in out, "Compilation failed")
>           [arch, machine, self.env, toolchain] = self.target.split('-')
>           self.start_test_time = 60

      reply	other threads:[~2015-12-04  0:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02  8:20 [dts] [PATCH]tests cmdline,unit " Lijuan Tu
2015-12-04  0:54 ` Liu, Yong [this message]

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=5660E43C.2000101@intel.com \
    --to=yong.liu@intel.com \
    --cc=dts@dpdk.org \
    --cc=lijuanx.a.tu@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).