test suite reviews and discussions
 help / color / mirror / Atom feed
From: Qin Sun <qinx.sun@intel.com>
To: dts@dpdk.org
Cc: Qin Sun <qinx.sun@intel.com>
Subject: [dts] [PATCH V1] tests/iavf_fdir: add decorator for os-default pkg not support case
Date: Fri, 30 Jul 2021 15:57:32 +0000	[thread overview]
Message-ID: <20210730155732.24191-1-qinx.sun@intel.com> (raw)

Signed-off-by: Qin Sun <qinx.sun@intel.com>
---
 tests/TestSuite_iavf_fdir.py | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

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",
-- 
2.17.1


             reply	other threads:[~2021-07-30  7:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-30 15:57 Qin Sun [this message]
2021-08-03  1:36 ` Sun, QinX
2021-08-10  6:34   ` Tu, Lijuan

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=20210730155732.24191-1-qinx.sun@intel.com \
    --to=qinx.sun@intel.com \
    --cc=dts@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).