From: Paul Szczepanek <paul.szczepanek@arm.com>
To: dev@dpdk.org
Cc: Paul Szczepanek <paul.szczepanek@arm.com>
Subject: [PATCH v1 0/2] Move TestSuite methods to API modules
Date: Tue, 23 Sep 2025 11:37:56 +0100 [thread overview]
Message-ID: <20250923103758.3192015-1-paul.szczepanek@arm.com> (raw)
Split up TestSuite internals from methods that can be used in tests.
Packet and test related methods have been moved to new API modules:
dts/api/packet.py,
dts/api/test.py.
All tests have been adjusted to use the new API calls.
Paul Szczepanek (2):
dts: add packet handling and test utilities to API
dts: adjust all tests to use the new API calls
doc/api/dts/api.packet.rst | 8 +
doc/api/dts/api.rst | 4 +-
doc/api/dts/api.test.rst | 8 +
doc/guides/tools/dts.rst | 2 +-
dts/api/packet.py | 311 ++++++++++++++++++
dts/api/test.py | 126 +++++++
dts/framework/test_suite.py | 305 +----------------
dts/tests/TestSuite_blocklist.py | 5 +-
dts/tests/TestSuite_checksum_offload.py | 14 +-
dts/tests/TestSuite_dual_vlan.py | 26 +-
dts/tests/TestSuite_dynamic_config.py | 8 +-
dts/tests/TestSuite_dynamic_queue_conf.py | 13 +-
dts/tests/TestSuite_hello_world.py | 3 +-
dts/tests/TestSuite_l2fwd.py | 11 +-
dts/tests/TestSuite_mac_filter.py | 16 +-
dts/tests/TestSuite_mtu.py | 10 +-
dts/tests/TestSuite_packet_capture.py | 22 +-
dts/tests/TestSuite_pmd_buffer_scatter.py | 10 +-
dts/tests/TestSuite_port_control.py | 14 +-
...stSuite_port_restart_config_persistency.py | 3 +-
dts/tests/TestSuite_port_stats.py | 12 +-
dts/tests/TestSuite_promisc_support.py | 20 +-
dts/tests/TestSuite_queue_start_stop.py | 6 +-
dts/tests/TestSuite_rte_flow.py | 70 ++--
dts/tests/TestSuite_smoke_tests.py | 7 +-
dts/tests/TestSuite_softnic.py | 11 +-
dts/tests/TestSuite_uni_pkt.py | 6 +-
dts/tests/TestSuite_vlan.py | 20 +-
28 files changed, 638 insertions(+), 433 deletions(-)
create mode 100644 doc/api/dts/api.packet.rst
create mode 100644 doc/api/dts/api.test.rst
create mode 100644 dts/api/packet.py
create mode 100644 dts/api/test.py
--
2.39.5
next reply other threads:[~2025-09-23 10:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-23 10:37 Paul Szczepanek [this message]
2025-09-23 10:37 ` [PATCH v1 1/2] dts: add packet handling and test utilities to API Paul Szczepanek
2025-09-23 10:37 ` [PATCH v1 2/2] dts: adjust all tests to use the new API calls Paul Szczepanek
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=20250923103758.3192015-1-paul.szczepanek@arm.com \
--to=paul.szczepanek@arm.com \
--cc=dev@dpdk.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;
as well as URLs for NNTP newsgroup(s).