From: jspewock@iol.unh.edu
To: yoan.picchi@foss.arm.com, Honnappa.Nagarahalli@arm.com,
thomas@monjalon.net, juraj.linkes@pantheon.tech,
paul.szczepanek@arm.com, probb@iol.unh.edu, npratte@iol.unh.edu,
Luca.Vizzarro@arm.com, wathsala.vithanage@arm.com
Cc: dev@dpdk.org, Jeremy Spewock <jspewock@iol.unh.edu>
Subject: [PATCH v1 0/2] dts: add context manager for interactive shells
Date: Tue, 9 Jul 2024 12:31:43 -0400 [thread overview]
Message-ID: <20240709163145.110030-1-jspewock@iol.unh.edu> (raw)
From: Jeremy Spewock <jspewock@iol.unh.edu>
This series is extracted from an existing series that expands the
scatter test suite. The goal of this patch series is to take this
feature that would be useful to other test suites and extract it from
the scatter series that does not directly depend on it.
This series adds a context manager for managing interactive shells and
also adds improved methods of starting and stopping interactive shells
through features like a retry when starting the shell and a weakref
finalize class to handle garbage collection.
Jeremy Spewock (2):
dts: add context manager for interactive shells
dts: improve starting and stopping interactive shells
dts/framework/remote_session/dpdk_shell.py | 9 +-
.../remote_session/interactive_shell.py | 171 ++-----------
.../single_active_interactive_shell.py | 233 ++++++++++++++++++
dts/framework/remote_session/testpmd_shell.py | 9 +-
.../testbed_model/traffic_generator/scapy.py | 2 +
dts/tests/TestSuite_pmd_buffer_scatter.py | 26 +-
dts/tests/TestSuite_smoke_tests.py | 3 +-
7 files changed, 285 insertions(+), 168 deletions(-)
create mode 100644 dts/framework/remote_session/single_active_interactive_shell.py
--
2.45.2
next reply other threads:[~2024-07-09 16:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-09 16:31 jspewock [this message]
2024-07-09 16:31 ` [PATCH v1 1/2] " jspewock
2024-07-11 14:35 ` Juraj Linkeš
2024-07-11 15:31 ` Jeremy Spewock
2024-07-09 16:31 ` [PATCH v1 2/2] dts: improve starting and stopping " jspewock
2024-07-10 13:12 ` Dean Marx
2024-07-11 14:53 ` Juraj Linkeš
2024-07-11 15:32 ` Jeremy Spewock
2024-07-11 16:34 ` [PATCH v2 0/2] dts: add context manager jspewock
2024-07-11 16:34 ` [PATCH v2 1/2] dts: add context manager for interactive shells jspewock
2024-07-11 16:34 ` [PATCH v2 2/2] dts: improve starting and stopping " jspewock
2024-07-11 16:43 ` Dean Marx
2024-07-23 22:09 ` [PATCH v2 0/2] dts: add context manager Thomas Monjalon
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=20240709163145.110030-1-jspewock@iol.unh.edu \
--to=jspewock@iol.unh.edu \
--cc=Honnappa.Nagarahalli@arm.com \
--cc=Luca.Vizzarro@arm.com \
--cc=dev@dpdk.org \
--cc=juraj.linkes@pantheon.tech \
--cc=npratte@iol.unh.edu \
--cc=paul.szczepanek@arm.com \
--cc=probb@iol.unh.edu \
--cc=thomas@monjalon.net \
--cc=wathsala.vithanage@arm.com \
--cc=yoan.picchi@foss.arm.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).