From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B72DCA0C50; Wed, 21 Jul 2021 12:03:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B1B844014D; Wed, 21 Jul 2021 12:03:21 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 0D9F540143 for ; Wed, 21 Jul 2021 12:03:19 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10051"; a="233202332" X-IronPort-AV: E=Sophos;i="5.84,257,1620716400"; d="scan'208";a="233202332" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2021 03:03:17 -0700 X-IronPort-AV: E=Sophos;i="5.84,257,1620716400"; d="scan'208";a="501226245" Received: from unknown (HELO cvl_tetser_105.icx.intel.com) ([10.240.183.105]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2021 03:02:52 -0700 From: Qin Sun To: dts@dpdk.org Cc: Qin Sun Date: Wed, 21 Jul 2021 18:35:08 +0000 Message-Id: <20210721183508.18426-1-qinx.sun@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/cvl_fdir: add decorate for os-default pkg not support case X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" 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 --- 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