test suite reviews and discussions
 help / color / mirror / Atom feed
From: Song Jiale <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Song Jiale <songx.jiale@intel.com>
Subject: [dts] [PATCH V1] tests/kernelpf_iavf: optimize script
Date: Thu, 19 Jan 2023 15:07:02 +0000	[thread overview]
Message-ID: <20230119150702.2265437-1-songx.jiale@intel.com> (raw)

"iavf_dual_vlan_insert" does not need to test dcf mode, which is the same as
the case "ice_dcf_dual_vlan/test_dcf_vlan_insert_in_pvid_enable" test.

Signed-off-by: Song Jiale <songx.jiale@intel.com>
---
 tests/TestSuite_kernelpf_iavf.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index 9089b511..5e955feb 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -1021,6 +1021,7 @@ class TestKernelpfIavf(TestCase):
         """
         Test case: IAVF DUAL VLAN header insertion
         """
+        self.skip_case(not self.dcf_mode, "the case not support this dcf mode")
         out_vlan = 1
         pkt_list = [
             'Ether(dst="%s",type=0x0800)/IP(src="196.222.232.221")/("X"*480)'
-- 
2.25.1


             reply	other threads:[~2023-01-19  7:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-19 15:07 Song Jiale [this message]
2023-01-29  1:56 ` lijuan.tu
2023-03-08 12:06 Song Jiale
2023-03-28  0:50 ` lijuan.tu

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=20230119150702.2265437-1-songx.jiale@intel.com \
    --to=songx.jiale@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).