test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Juraj Linkeš" <juraj.linkes@pantheon.tech>
To: David Marchand <david.marchand@redhat.com>,
	"Dong, JunX" <junx.dong@intel.com>
Cc: "Tu, Lijuan" <lijuan.tu@intel.com>,
	Owen Hilyard <ohilyard@iol.unh.edu>,
	"dts@dpdk.org" <dts@dpdk.org>
Subject: RE: [PATCH v1] framework/dut: fix pylama errors
Date: Tue, 18 Jan 2022 13:59:44 +0000	[thread overview]
Message-ID: <69d6d259826344e086d507d1048c43e5@pantheon.tech> (raw)
In-Reply-To: <CAJFAV8y_i+uxpJGoMZSqgNFf2FEas7pg4sBBCUoVgT4_UjS4mQ@mail.gmail.com>



> -----Original Message-----
> From: David Marchand <david.marchand@redhat.com>
> Sent: Monday, December 6, 2021 2:56 PM
> To: Juraj Linkeš <juraj.linkes@pantheon.tech>
> Cc: Tu, Lijuan <lijuan.tu@intel.com>; Owen Hilyard <ohilyard@iol.unh.edu>;
> dts@dpdk.org
> Subject: Re: [PATCH v1] framework/dut: fix pylama errors
> 
> On Mon, Dec 6, 2021 at 1:14 PM Juraj Linkeš <juraj.linkes@pantheon.tech>
> wrote:
> > @@ -540,6 +542,19 @@ class Dut(Crb):
> >          except AttributeError:
> >              self.logger.error("%s is not implemented" % function_name)
> >
> > +    def get_def_rte_config(self, config):
> > +        """
> > +        Get RTE configuration from config/defconfig_*.
> > +        """
> > +        out = self.send_expect("cat config/defconfig_%s | sed '/^#/d' | sed
> '/^\s*$/d'"
> > +                                        % self.target, "# ")
> 
> Is this part still needed?
> 

Sorry for the delayed reply, the mail got lost in my inbox somehow.
Even if this was needed, I wouldn't really want to do it in this patch, as that would be a bigger than necessary change to address the errors.
But in any case, Lijuan, Jun, is this still needed? I remember you mentioning that DTS is used to test older DPDK versions.

> > +
> > +        def_rte_config = re.findall(config+'=(\S+)', out)
> > +        if def_rte_config:
> > +            return def_rte_config[0]
> > +        else:
> > +            return None
> > +
> 
> 
> --
> David Machand
> 


  reply	other threads:[~2022-01-18 13:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06 12:14 Juraj Linkeš
2021-12-06 13:55 ` David Marchand
2022-01-18 13:59   ` Juraj Linkeš [this message]
2022-01-07  7:42 ` Dong, JunX
2022-01-19 12:05 ` [PATCH v2] " Juraj Linkeš
2022-01-25  3:30   ` Dong, JunX
2022-01-25  6:02     ` Tu, Lijuan

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=69d6d259826344e086d507d1048c43e5@pantheon.tech \
    --to=juraj.linkes@pantheon.tech \
    --cc=david.marchand@redhat.com \
    --cc=dts@dpdk.org \
    --cc=junx.dong@intel.com \
    --cc=lijuan.tu@intel.com \
    --cc=ohilyard@iol.unh.edu \
    /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).