* [dts] [PATCH V1] tests/cvl_fdir: add decorate for os-default pkg not support case
@ 2021-07-21 18:35 Qin Sun
2021-07-26 5:23 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Qin Sun @ 2021-07-21 18:35 UTC (permalink / raw)
To: dts; +Cc: Qin Sun
some cases os-default pkg not support need to add decorate to skip test
cvl_fdir: test_same_rule_on_two_ports case include gtpu rule
cvl_qinq: 4 cases include pppoe rule
iavf_flexible_descriptor: os-default pkg not support RXDID[17]
Signed-off-by: Qin Sun <qinx.sun@intel.com>
---
tests/TestSuite_cvl_fdir.py | 1 +
tests/TestSuite_cvl_qinq.py | 6 +++++-
tests/TestSuite_iavf_flexible_descriptor.py | 1 +
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_cvl_fdir.py b/tests/TestSuite_cvl_fdir.py
index 1d419443..0c3a1917 100644
--- a/tests/TestSuite_cvl_fdir.py
+++ b/tests/TestSuite_cvl_fdir.py
@@ -2898,6 +2898,7 @@ class TestCVLFdir(TestCase):
self.dut.send_command("quit", timeout=2)
self.launch_testpmd_with_mark()
+ @skip_unsupported_pkg('os default')
def test_same_rule_on_two_ports(self):
rule = [
'flow create 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x34 / end actions queue index 1 / mark / end',
diff --git a/tests/TestSuite_cvl_qinq.py b/tests/TestSuite_cvl_qinq.py
index 4602a9e9..0c950b03 100644
--- a/tests/TestSuite_cvl_qinq.py
+++ b/tests/TestSuite_cvl_qinq.py
@@ -35,7 +35,7 @@ import time
import random
from packet import Packet
from pmd_output import PmdOutput
-from test_case import TestCase, check_supported_nic
+from test_case import TestCase, check_supported_nic, skip_unsupported_pkg
from utils import GREEN, RED
from rte_flow_common import RssProcessing
@@ -467,6 +467,7 @@ class TestCvlQinq(TestCase):
self.launch_testpmd()
self._rte_flow_validate_pattern(mac_qinq_ipv6_pay)
+ @skip_unsupported_pkg('os default')
def test_mac_qinq_pppoe_pay(self):
"""
DCF switch for MAC_QINQ_PPPOE_PAY
@@ -475,6 +476,7 @@ class TestCvlQinq(TestCase):
self.launch_testpmd()
self._rte_flow_validate_pattern(mac_qinq_pppoe_pay)
+ @skip_unsupported_pkg('os default')
def test_mac_qinq_pppoe_pay_proto(self):
"""
DCF switch for MAC_QINQ_PPPOE_PAY_Proto
@@ -483,6 +485,7 @@ class TestCvlQinq(TestCase):
self.launch_testpmd()
self._rte_flow_validate_pattern(mac_qinq_pppoe_proto)
+ @skip_unsupported_pkg('os default')
def test_mac_qinq_pppoe_ipv4(self):
"""
DCF switch for MAC_QINQ_PPPOE_IPV4
@@ -491,6 +494,7 @@ class TestCvlQinq(TestCase):
self.launch_testpmd()
self._rte_flow_validate_pattern(mac_qinq_pppoe_ipv4)
+ @skip_unsupported_pkg('os default')
def test_mac_qinq_pppoe_ipv6(self):
"""
DCF switch for MAC_QINQ_PPPOE_IPV6
diff --git a/tests/TestSuite_iavf_flexible_descriptor.py b/tests/TestSuite_iavf_flexible_descriptor.py
index 41d227ae..e5cd9b3d 100644
--- a/tests/TestSuite_iavf_flexible_descriptor.py
+++ b/tests/TestSuite_iavf_flexible_descriptor.py
@@ -155,6 +155,7 @@ class TestIavfFlexibleDescriptor(TestCase, FlexibleRxdBase):
"""
self.check_double_VLAN_fields_in_RXD_8021Q_1_VLAN_tag()
+ @skip_unsupported_pkg('os default')
def test_check_double_VLAN_fields_in_RXD_8021Q_2_VLAN_tag(self):
"""
Check double VLAN fields in RXD (802.1Q) 2 VLAN tags
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1] tests/cvl_fdir: add decorate for os-default pkg not support case
2021-07-21 18:35 [dts] [PATCH V1] tests/cvl_fdir: add decorate for os-default pkg not support case Qin Sun
@ 2021-07-26 5:23 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2021-07-26 5:23 UTC (permalink / raw)
To: Sun, QinX, dts; +Cc: Sun, QinX
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Qin Sun
> Sent: 2021年7月22日 2:35
> To: dts@dpdk.org
> Cc: Sun, QinX <qinx.sun@intel.com>
> Subject: [dts] [PATCH V1] tests/cvl_fdir: add decorate for os-default pkg not
> support case
>
> some cases os-default pkg not support need to add decorate to skip test
>
> cvl_fdir: test_same_rule_on_two_ports case include gtpu rule
> cvl_qinq: 4 cases include pppoe rule
> iavf_flexible_descriptor: os-default pkg not support RXDID[17]
>
> Signed-off-by: Qin Sun <qinx.sun@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-26 5:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 18:35 [dts] [PATCH V1] tests/cvl_fdir: add decorate for os-default pkg not support case Qin Sun
2021-07-26 5:23 ` Tu, Lijuan
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).