test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: "Xu, HuilongX" <huilongx.xu@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1]fix yocto os can't init core list
Date: Wed, 2 Dec 2015 06:46:55 +0000	[thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10F73EE6@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1449037663-5046-1-git-send-email-huilongx.xu@intel.com>

Hi Huilong, 
Option "--color=never" will fix some wrong output in Ubuntu OS. Before remove it, please find another way to disable color.

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,huilong
> Sent: Wednesday, December 02, 2015 2:28 PM
> To: dts@dpdk.org
> Subject: [dts] [PATCH V1]fix yocto os can't init core list
> 
> yocto not support --color=never parameter.
> 
> Signed-off-by: xu,huilong <huilongx.xu@intel.com>
> ---
>  framework/crb.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/framework/crb.py b/framework/crb.py
> index 3c158ec..baaff2a 100644
> --- a/framework/crb.py
> +++ b/framework/crb.py
> @@ -462,7 +462,7 @@ class Crb(object):
> 
>          cpuinfo = \
>              self.send_expect(
> -                "grep --color=never \"processor\\|physical id\\|core
> id\\|^$\" /proc/cpuinfo",
> +                r'grep "processor\|physical id\|core id\|^$"
> /proc/cpuinfo',
>                  "#", alt_session=True)
>          cpuinfo = cpuinfo.split('\r\n\r\n')
>          # haswell cpu on cottonwood core id not correct
> --
> 1.9.3

      reply	other threads:[~2015-12-02  6:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02  6:27 xu,huilong
2015-12-02  6:46 ` 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=86228AFD5BCD8E4EBFD2B90117B5E81E10F73EE6@SHSMSX103.ccr.corp.intel.com \
    --to=yong.liu@intel.com \
    --cc=dts@dpdk.org \
    --cc=huilongx.xu@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).