mbox series

[v1,0/2] dts: port over port_control testing suite

Message ID 20240814182005.12251-1-jspewock@iol.unh.edu (mailing list archive)
Headers
Series dts: port over port_control testing suite |

Message

Jeremy Spewock Aug. 14, 2024, 6:20 p.m. UTC
From: Jeremy Spewock <jspewock@iol.unh.edu>

This series ports over most of the test coverage provided from the
port_control testing suite in the Old DTS framework. The only
functionality that is missing is testing port functions in a VM through
QEMU and testing the support of resetting ports. Since we have no
method of handling virtual machines in the new framework and have yet
to express interest in adding it, these test cases were omitted from
this suite. Additionally the ability to reset a port is not something
that is supported by all devices and devices do not seem to expose
information regarding whether they support resetting ports through
testpmd.

Jeremy Spewock (2):
  dts: add methods for closing and restarting ports to testpmd
  dts: add port control testing suite

 dts/framework/config/conf_yaml_schema.json    |  3 +-
 dts/framework/remote_session/testpmd_shell.py | 21 +++++
 dts/tests/TestSuite_port_control.py           | 80 +++++++++++++++++++
 3 files changed, 103 insertions(+), 1 deletion(-)
 create mode 100644 dts/tests/TestSuite_port_control.py