[PATCH 2/2] tests/pipeline: added test case for validate instruction
Yogesh Jangra
yogesh.jangra at intel.com
Tue Nov 29 07:02:41 CET 2022
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 <yogesh.jangra at intel.com>
---
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
More information about the dts
mailing list