test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/packet_capture: add support on ice
@ 2023-03-17  7:20 Lingli Chen
  2023-03-28  0:55 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Lingli Chen @ 2023-03-17  7:20 UTC (permalink / raw)
  To: dts; +Cc: zhiminx.huang, Lingli Chen

add support driver ice and support target clang

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 tests/TestSuite_packet_capture.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_packet_capture.py b/tests/TestSuite_packet_capture.py
index 9244a6ac..6b0ee77b 100644
--- a/tests/TestSuite_packet_capture.py
+++ b/tests/TestSuite_packet_capture.py
@@ -232,7 +232,7 @@ class TestPacketCapture(TestCase):
         self.rxtx_iface = ifaces[0]
 
     def verify_supported_nic(self):
-        supported_drivers = ["i40e", "ixgbe"]
+        supported_drivers = ["i40e", "ixgbe", "ice"]
         result = all(
             [
                 self.dut.ports_info[index]["port"].default_driver in supported_drivers
@@ -803,8 +803,9 @@ class TestPacketCapture(TestCase):
         Run at the start of each test suite.
         """
         self.verify(
-            self.target == "x86_64-native-linuxapp-gcc",
-            "only support x86_64-native-linuxapp-gcc",
+            self.target
+            in ["x86_64-native-linuxapp-gcc", "x86_64-native-linuxapp-clang"],
+            "only support x86_64-native-linuxapp-gcc and x86_64-native-linuxapp-clang",
         )
         self.dut_ports = self.dut.get_ports()
         self.verify(len(self.dut_ports) == 2, "Insufficient ports for testing")
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-28  0:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-17  7:20 [dts][PATCH V1] tests/packet_capture: add support on ice Lingli Chen
2023-03-28  0:55 ` lijuan.tu

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).