From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Louis Rannou <lrannou@baylibre.com>,
openembedded-core@lists.openembedded.org
Cc: khilman@baylibre.com
Subject: Re: [OE-core] [PATCH v2 0/1] Change the serial runner usage
Date: Wed, 29 Mar 2023 11:53:09 +0100 [thread overview]
Message-ID: <8cb5371cbfacac03d340142b36511a73834669d0.camel@linuxfoundation.org> (raw)
In-Reply-To: <20230303090139.207454-1-lrannou@baylibre.com>
On Fri, 2023-03-03 at 10:01 +0100, Louis Rannou wrote:
> The actual serial runner has a different usage compare to the ssh runner. The
> return status is different and failure are not raised as exceptions.
>
> Initially, I wanted to create a new run_serial_socket and modify the old
> run_serial to use the former. And there was a second patch that changed every
> call to run_serial to run_serial_socket. But that is not easy as each test
> can have a different manner to handle the exception.
>
> Therefore, this patch only suggest a new runner and add a comment to deprecate
> the former runner.
>
> Louis Rannou (1):
> oeqa/utils/qemurunner: change the serial runner usage
>
> meta/lib/oeqa/targetcontrol.py | 3 ++
> meta/lib/oeqa/utils/qemurunner.py | 57 +++++++++++++++++++++++++++++++
> 2 files changed, 60 insertions(+)
Sorry about the late reply to this. I think the idea of the new runner
is great and we should improve and clean this up.
As the patch stands, it creates a largely duplicate function with no
users. Experience shows this tends to bitrot quickly.
For that reason I'm reluctant to take just this change without
converting at least some of the existing users to use the new API.
Ideally we'd convert everything but at the very least the new function
should be usable by a decent chunk of the existing code, even if we
have to adjust it to make that work.
Cheers,
Richard
next prev parent reply other threads:[~2023-03-29 10:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-03 9:01 [PATCH v2 0/1] Change the serial runner usage Louis Rannou
2023-03-03 9:01 ` [PATCH v2 1/1] oeqa/utils/qemurunner: change the serial runner Louis Rannou
2023-03-29 10:53 ` Richard Purdie [this message]
2023-03-31 7:50 ` [OE-core] [PATCH v2 0/1] Change the serial runner usage Louis Rannou
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=8cb5371cbfacac03d340142b36511a73834669d0.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=khilman@baylibre.com \
--cc=lrannou@baylibre.com \
--cc=openembedded-core@lists.openembedded.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