[dts] [PATCH] tests/test_plans: Fix Prerequisites error

Lijuan Tu lijuan.tu at intel.com
Sat Dec 22 10:55:23 CET 2018


Applied, thanks


On 2018年12月18日 14:13, Rami Rosen wrote:
> In several tests and test_plans, the word "Prerequistites" appear.
> It should be "Prerequisites", as it appears in the other
> DTS tests/test_plans.
>
> Signed-off-by: Rami Rosen <ramirose at gmail.com>
> ---
>   test_plans/sw_eventdev_pipeline_sample_test_plan.rst | 2 +-
>   tests/TestSuite_dual_vlan.py                         | 2 +-
>   tests/TestSuite_dynamic_config.py                    | 2 +-
>   tests/TestSuite_generic_filter.py                    | 2 +-
>   tests/TestSuite_hello_world.py                       | 2 +-
>   tests/TestSuite_mac_filter.py                        | 2 +-
>   tests/TestSuite_queue_region.py                      | 2 +-
>   tests/TestSuite_rss_to_rte_flow.py                   | 2 +-
>   tests/TestSuite_runtime_queue_number.py              | 2 +-
>   tests/TestSuite_scatter.py                           | 2 +-
>   tests/TestSuite_vlan.py                              | 2 +-
>   tests/TestSuite_vlan_ethertype_config.py             | 2 +-
>   12 files changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/test_plans/sw_eventdev_pipeline_sample_test_plan.rst b/test_plans/sw_eventdev_pipeline_sample_test_plan.rst
> index 1da0dc1..fba6915 100644
> --- a/test_plans/sw_eventdev_pipeline_sample_test_plan.rst
> +++ b/test_plans/sw_eventdev_pipeline_sample_test_plan.rst
> @@ -34,7 +34,7 @@
>   Eventdev Pipeline SW PMD Tests
>   ===============================
>   
> -Prerequistites
> +Prerequisites
>   ==============
>   
>   Test Case 1: Keep the packets order with one ordered stage in single-flow and multi-flow
> diff --git a/tests/TestSuite_dual_vlan.py b/tests/TestSuite_dual_vlan.py
> index db9d5f5..994ac42 100644
> --- a/tests/TestSuite_dual_vlan.py
> +++ b/tests/TestSuite_dual_vlan.py
> @@ -79,7 +79,7 @@ class TestDualVlan(TestCase):
>           """
>           Run at the start of each test suite.
>   
> -        Vlan Prerequistites
> +        Vlan Prerequisites
>           """
>           global dutRxPortId
>           global dutTxPortId
> diff --git a/tests/TestSuite_dynamic_config.py b/tests/TestSuite_dynamic_config.py
> index 699c303..4df1291 100644
> --- a/tests/TestSuite_dynamic_config.py
> +++ b/tests/TestSuite_dynamic_config.py
> @@ -60,7 +60,7 @@ class TestDynamicConfig(TestCase):
>           Run at the start of each test suite.
>   
>   
> -        Dynamic config Prerequistites
> +        Dynamic config Prerequisites
>           """
>   
>           # Based on h/w type, choose how many ports to use
> diff --git a/tests/TestSuite_generic_filter.py b/tests/TestSuite_generic_filter.py
> index 6142c64..61422f8 100644
> --- a/tests/TestSuite_generic_filter.py
> +++ b/tests/TestSuite_generic_filter.py
> @@ -53,7 +53,7 @@ class TestGeneric_filter(TestCase):
>           Run at the start of each test suite.
>   
>   
> -        Generic filter Prerequistites
> +        Generic filter Prerequisites
>           """
>   
>           # Based on h/w type, choose how many ports to use
> diff --git a/tests/TestSuite_hello_world.py b/tests/TestSuite_hello_world.py
> index 5b962e2..d199177 100644
> --- a/tests/TestSuite_hello_world.py
> +++ b/tests/TestSuite_hello_world.py
> @@ -42,7 +42,7 @@ class TestHelloWorld(TestCase):
>       def set_up_all(self):
>           """
>           Run at the start of each test suite.
> -        hello_world Prerequistites:
> +        hello_world Prerequisites:
>               helloworld build pass
>           """
>           out = self.dut.build_dpdk_apps('examples/helloworld')
> diff --git a/tests/TestSuite_mac_filter.py b/tests/TestSuite_mac_filter.py
> index 2407208..4b83942 100644
> --- a/tests/TestSuite_mac_filter.py
> +++ b/tests/TestSuite_mac_filter.py
> @@ -45,7 +45,7 @@ class TestWhitelist(TestCase):
>       def set_up_all(self):
>           """
>           Run at the start of each test suite.
> -        Whitelist Prerequistites:
> +        Whitelist Prerequisites:
>               Two Ports
>               testpmd can normally started
>           """
> diff --git a/tests/TestSuite_queue_region.py b/tests/TestSuite_queue_region.py
> index e971c46..6e6dbcd 100644
> --- a/tests/TestSuite_queue_region.py
> +++ b/tests/TestSuite_queue_region.py
> @@ -55,7 +55,7 @@ class TestQueue_region(TestCase):
>       def set_up_all(self):
>           """
>           Run at the start of each test suite.
> -        Queue region Prerequistites
> +        Queue region Prerequisites
>           """
>           self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
>                                    "fortville_spirit_single", "fortpark_TLV"], "NIC Unsupported: " + str(self.nic))
> diff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rte_flow.py
> index bb76b60..123f37c 100644
> --- a/tests/TestSuite_rss_to_rte_flow.py
> +++ b/tests/TestSuite_rss_to_rte_flow.py
> @@ -55,7 +55,7 @@ class TestRSS_to_Rteflow(TestCase):
>       def set_up_all(self):
>           """
>           Run at the start of each test suite.
> -        Move RSS to rte_flow Prerequistites
> +        Move RSS to rte_flow Prerequisites
>           """
>           # Based on h/w type, choose how many ports to use
>           self.dut_ports = self.dut.get_ports(self.nic)
> diff --git a/tests/TestSuite_runtime_queue_number.py b/tests/TestSuite_runtime_queue_number.py
> index 12263f3..644d2fe 100644
> --- a/tests/TestSuite_runtime_queue_number.py
> +++ b/tests/TestSuite_runtime_queue_number.py
> @@ -55,7 +55,7 @@ class TestRuntime_Queue_Number(TestCase):
>       def set_up_all(self):
>           """
>           Run at the start of each test suite.
> -        Run time Queue Number Prerequistites
> +        Run time Queue Number Prerequisites
>           """
>           self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
>                                    "fortville_spirit_single", "fortpark_TLV"], "NIC Unsupported: " + str(self.nic))
> diff --git a/tests/TestSuite_scatter.py b/tests/TestSuite_scatter.py
> index 0d38513..8977e1b 100644
> --- a/tests/TestSuite_scatter.py
> +++ b/tests/TestSuite_scatter.py
> @@ -53,7 +53,7 @@ class TestScatter(TestCase):
>       def set_up_all(self):
>           """
>           Run at the start of each test suite.
> -        Scatter Prerequistites
> +        Scatter Prerequisites
>           """
>           dutPorts = self.dut.get_ports(self.nic)
>           # Verify that enough ports are available
> diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py
> index b2bda71..6aa059c 100644
> --- a/tests/TestSuite_vlan.py
> +++ b/tests/TestSuite_vlan.py
> @@ -53,7 +53,7 @@ class TestVlan(TestCase):
>           Run at the start of each test suite.
>   
>   
> -        Vlan Prerequistites
> +        Vlan Prerequisites
>           """
>           global dutRxPortId
>           global dutTxPortId
> diff --git a/tests/TestSuite_vlan_ethertype_config.py b/tests/TestSuite_vlan_ethertype_config.py
> index 8eba49c..684f68a 100644
> --- a/tests/TestSuite_vlan_ethertype_config.py
> +++ b/tests/TestSuite_vlan_ethertype_config.py
> @@ -61,7 +61,7 @@ class TestVlanEthertypeConfig(TestCase):
>           Run at the start of each test suite.
>   
>   
> -        Vlan Prerequistites
> +        Vlan Prerequisites
>           """
>           global dutRxPortId
>           global dutTxPortId



More information about the dts mailing list