diff mbox series

[V1] tests/iavf_fdir: add decorator for os-default pkg not support case

Message ID 20210730155732.24191-1-qinx.sun@intel.com (mailing list archive)
State Accepted
Headers show
Series [V1] tests/iavf_fdir: add decorator for os-default pkg not support case | expand

Commit Message

Sun, QinX July 30, 2021, 3:57 p.m. UTC
Signed-off-by: Qin Sun <qinx.sun@intel.com>
---
 tests/TestSuite_iavf_fdir.py | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Comments

Sun, QinX Aug. 3, 2021, 1:36 a.m. UTC | #1
> -----Original Message-----
> From: Sun, QinX <qinx.sun@intel.com>
> Sent: Friday, July 30, 2021 11:58 PM
> To: dts@dpdk.org
> Cc: Sun, QinX <qinx.sun@intel.com>
> Subject: [dts] [PATCH V1] tests/iavf_fdir: add decorator for os-default pkg not support case

Tested-by: Qin Sun <qinx.sun@intel.com>
Tu, Lijuan Aug. 10, 2021, 6:34 a.m. UTC | #2
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Sun, QinX
> Sent: 2021年8月3日 9:37
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/iavf_fdir: add decorator for os-default pkg
> not support case
> 
> 
> 
> > -----Original Message-----
> > From: Sun, QinX <qinx.sun@intel.com>
> > Sent: Friday, July 30, 2021 11:58 PM
> > To: dts@dpdk.org
> > Cc: Sun, QinX <qinx.sun@intel.com>
> > Subject: [dts] [PATCH V1] tests/iavf_fdir: add decorator for os-default pkg not
> support case
> 
> Tested-by: Qin Sun <qinx.sun@intel.com>

Applied
diff mbox series

Patch

diff --git a/tests/TestSuite_iavf_fdir.py b/tests/TestSuite_iavf_fdir.py
index 61d1f95f..d79829ea 100644
--- a/tests/TestSuite_iavf_fdir.py
+++ b/tests/TestSuite_iavf_fdir.py
@@ -9181,75 +9181,99 @@  class TestIAVFFdir(TestCase):
         out = self.send_pkts_getouput(pkt_ipv4_pay_ipv6_pay)
         rfc.verify_iavf_fdir_directed_by_rss(out, stats=True)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_ipv4(self):
         self.rte_flow_process(vectors_ipv4_gtpu_ipv4)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_ipv4_tcp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_ipv4_tcp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_ipv4_udp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_ipv4_udp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_ipv4(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_ipv4)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_ipv4_tcp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_ipv4_tcp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_ipv4_udp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_ipv4_udp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_dl_ipv4(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_dl_ipv4)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_dl_ipv4_tcp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_dl_ipv4_tcp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_dl_ipv4_udp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_dl_ipv4_udp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_ul_ipv4(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_ul_ipv4)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_ul_ipv4_tcp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_ul_ipv4_tcp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_ul_ipv4_udp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_ul_ipv4_udp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_ipv6(self):
         self.rte_flow_process(vectors_ipv4_gtpu_ipv6)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_ipv6_tcp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_ipv6_tcp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_ipv6_udp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_ipv6_udp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_ipv6(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_ipv6)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_ipv6_tcp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_ipv6_tcp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_ipv6_udp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_ipv6_udp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_dl_ipv6(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_dl_ipv6)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_dl_ipv6_tcp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_dl_ipv6_tcp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_dl_ipv6_udp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_dl_ipv6_udp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_ul_ipv6(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_ul_ipv6)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_ul_ipv6_tcp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_ul_ipv6_tcp)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_ipv4_gtpu_eh_ul_ipv6_udp(self):
         self.rte_flow_process(vectors_ipv4_gtpu_eh_ul_ipv6_udp)
 
@@ -9311,6 +9335,7 @@  class TestIAVFFdir(TestCase):
         pkt_list = [pkts[2], pkts[6], pkts[10], pkts[11]]
         self._rte_conflict_rule(c_rules, rules[2], pkt_list, stats=False)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_inner_ipv4_gtpu_conflict_rule(self):
         rules = ["flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions queue index 10 / mark id 1 / end",
                  "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / tcp src is 22 dst is 23 / end actions queue index 10 / mark id 1 / end",
@@ -9340,6 +9365,7 @@  class TestIAVFFdir(TestCase):
 
         self._create_check_conflict_rule(rules, pkts)
 
+    @skip_unsupported_pkg(['os default', 'wireless'])
     def test_mac_inner_ipv6_gtpu_conflict_rule(self):
         rules = [
             "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv6 src is 2001::2 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 10 / mark id 1 / end",