From: Qin Sun <qinx.sun@intel.com>
To: dts@dpdk.org
Cc: Qin Sun <qinx.sun@intel.com>
Subject: [dts] [PATCH V1] tests/cvl_fdir: add decorate for os-default pkg not support case
Date: Wed, 21 Jul 2021 18:35:08 +0000 [thread overview]
Message-ID: <20210721183508.18426-1-qinx.sun@intel.com> (raw)
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
next reply other threads:[~2021-07-21 10:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-21 18:35 Qin Sun [this message]
2021-07-26 5:23 ` 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=20210721183508.18426-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).