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 CA20CA04FD; Tue, 29 Nov 2022 14:26:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C616442BD9; Tue, 29 Nov 2022 14:26:04 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 02B924067E for ; Tue, 29 Nov 2022 14:26:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669728363; x=1701264363; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bu+KTtQo4psm42YUaiNqzu1m1W9KqujF2p06Owrd0Go=; b=PeAjK6pGmNEkEn9ju2DIwy50mmAHwBOO/Aw6+L1IR7h06vPtuTIBpXTX eRYo7bfrisx2tNb2+fjib4tTLXr06ZGJp2XRPQYLYh71lRDtMLMlWNDWK 5NWsx4ESt/+dHh55tok59GO4RLsT0DKkG239D/4qBeWHuJ4J+tWh/ItO0 p4qmwYQ2eL2RLonorUKxDBh0rCYB4/0+ryv32GHW6nBKXFjGssnvo4M+k Fmh1LfZRE3bwdcNo4qa1PI5ghf4Z123kZw5ukgZs8uz9wsWaGHGY6lJ3u etl85dgnp6QCvRi6ZY3qWlEncKKg+4dyshbfX4/byyWy4dhhab3JbS8Eo Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10545"; a="401396800" X-IronPort-AV: E=Sophos;i="5.96,203,1665471600"; d="scan'208";a="401396800" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2022 05:26:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10545"; a="594258059" X-IronPort-AV: E=Sophos;i="5.96,203,1665471600"; d="scan'208";a="594258059" Received: from ena4.iind.intel.com ([10.190.200.193]) by orsmga003.jf.intel.com with ESMTP; 29 Nov 2022 05:26:00 -0800 From: Yogesh Jangra To: dts@dpdk.org Cc: cristian.dumitrescu@intel.com, kamalakannan.r@intel.com, harshad.suresh.narayane@intel.com, yogesh.jangra@intel.com Subject: [PATCH 2/2] tests/pipeline: added test case for validate instruction Date: Tue, 29 Nov 2022 06:02:41 +0000 Message-Id: <20221129060241.901035-3-yogesh.jangra@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129060241.901035-1-yogesh.jangra@intel.com> References: <20221129060241.901035-1-yogesh.jangra@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Added a new test case to the pipeline test suite. This test case will verify the validate instruction with mov instruction. Signed-off-by: Yogesh Jangra --- tests/TestSuite_pipeline.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/TestSuite_pipeline.py b/tests/TestSuite_pipeline.py index 4ecea73d..de04bc44 100644 --- a/tests/TestSuite_pipeline.py +++ b/tests/TestSuite_pipeline.py @@ -2450,6 +2450,19 @@ class TestPipeline(TestCase): self.send_and_sniff_multiple(tx_port, rx_port, in_pcap, out_pcap, filters) self.dut.send_expect("^C", "# ", 20) + def test_validate_002(self): + + cli_file = "/tmp/pipeline/validate_002/validate_002.cli" + self.run_dpdk_app(cli_file) + + in_pcap = ["pipeline/validate_002/pcap_files/in_1.txt"] * 4 + out_pcap = ["pipeline/validate_002/pcap_files/out_1.txt"] * 4 + filters = ["vlan 2"] * 4 + tx_port = [0, 1, 2, 3] + rx_port = [0, 1, 2, 3] + self.send_and_sniff_multiple(tx_port, rx_port, in_pcap, out_pcap, filters) + self.dut.send_expect("^C", "# ", 20) + def test_table_002(self): cli_file = "/tmp/pipeline/table_002/table_002.cli" -- 2.25.1