test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Xiao, QimaiX" <qimaix.xiao@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1]framework/project_dpdk: ignore make warning info
Date: Wed, 1 Jul 2020 09:53:32 +0000	[thread overview]
Message-ID: <MWHPR1101MB2254D9BA6E74B7CDB0A77B5AFB6C0@MWHPR1101MB2254.namprd11.prod.outlook.com> (raw)
In-Reply-To: <1593596673-51488-1-git-send-email-qimaix.xiao@intel.com>

Tested-by: Xiao, QimaiX <qimaix.xiao@intel.com>

Regards,
Xiao Qimai

> -----Original Message-----
> From: Xiao, QimaiX <qimaix.xiao@intel.com>
> Sent: Wednesday, July 1, 2020 5:45 PM
> To: dts@dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: [dts][PATCH V1]framework/project_dpdk: ignore make warning
> info
> 
> Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
> ---
>  framework/project_dpdk.py | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
> index b8cb2bd..c0dfd59 100644
> --- a/framework/project_dpdk.py
> +++ b/framework/project_dpdk.py
> @@ -231,12 +231,12 @@ class DPDKdut(Dut):
>          self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#")
> 
>          # compile
> -        out = self.send_expect("make -j %d install T=%s %s" %
> +        out = self.send_expect("make -j %d install T=%s %s
> + MAKE_PAUSE=n" %
>              (self.number_of_cores, target, extra_options), "# ", build_time)
>          if("Error" in out or "No rule to make" in out):
>              self.logger.error("ERROR - try without '-j'")
>              # if Error try to execute make without -j option
> -            out = self.send_expect("make install T=%s %s" % (target,
> extra_options), "# ", build_time*4)
> +            out = self.send_expect("make install T=%s %s MAKE_PAUSE=n"
> + % (target, extra_options), "# ", build_time*4)
> 
>          assert ("Error" not in out), "Compilation error..."
>          assert ("No rule to make" not in out), "No rule to make error..."
> @@ -252,13 +252,13 @@ class DPDKdut(Dut):
>          self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#")
>          build_time = 180
>          # compile
> -        out = self.send_expect("make -j %d install T=%s" %
> (self.number_of_cores,
> +        out = self.send_expect("make -j %d install T=%s MAKE_PAUSE=n" %
> + (self.number_of_cores,
>                                                                       target),
>                                 "#", build_time)
>          if("Error" in out or "No rule to make" in out):
>              self.logger.error("ERROR - try without '-j'")
>              # if Error try to execute make without -j option
> -            out = self.send_expect("make install T=%s" % target,
> +            out = self.send_expect("make install T=%s MAKE_PAUSE=n" %
> + target,
>                                     "#", build_time)
> 
>          assert ("Error" not in out), "Compilation error..."
> --
> 1.8.3.1


      reply	other threads:[~2020-07-01  9:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-01  9:44 Xiao Qimai
2020-07-01  9:53 ` Xiao, QimaiX [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=MWHPR1101MB2254D9BA6E74B7CDB0A77B5AFB6C0@MWHPR1101MB2254.namprd11.prod.outlook.com \
    --to=qimaix.xiao@intel.com \
    --cc=dts@dpdk.org \
    /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).