From: David Marchand <david.marchand@redhat.com>
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
Date: Mon, 6 Dec 2021 14:55:55 +0100 [thread overview]
Message-ID: <CAJFAV8y_i+uxpJGoMZSqgNFf2FEas7pg4sBBCUoVgT4_UjS4mQ@mail.gmail.com> (raw)
In-Reply-To: <1638792877-2000-1-git-send-email-juraj.linkes@pantheon.tech>
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?
> +
> + def_rte_config = re.findall(config+'=(\S+)', out)
> + if def_rte_config:
> + return def_rte_config[0]
> + else:
> + return None
> +
--
David Machand
next prev parent reply other threads:[~2021-12-06 13:56 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 [this message]
2022-01-18 13:59 ` Juraj Linkeš
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=CAJFAV8y_i+uxpJGoMZSqgNFf2FEas7pg4sBBCUoVgT4_UjS4mQ@mail.gmail.com \
--to=david.marchand@redhat.com \
--cc=dts@dpdk.org \
--cc=juraj.linkes@pantheon.tech \
--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).