[dts] [PATCH V1] fix the config filename

Tu, Lijuan lijuan.tu at intel.com
Wed May 29 04:13:03 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of lihong
> Sent: Tuesday, May 21, 2019 5:44 AM
> To: dts at dpdk.org
> Cc: Ma, LihongX <lihongx.ma at intel.com>
> Subject: [dts] [PATCH V1] fix the config filename
> 
> Signed-off-by: lihong <lihongx.ma at intel.com>
> ---
>  tests/TestSuite_unit_tests_pmd_perf.py | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/tests/TestSuite_unit_tests_pmd_perf.py
> b/tests/TestSuite_unit_tests_pmd_perf.py
> index 0d332bf..ea221df 100644
> --- a/tests/TestSuite_unit_tests_pmd_perf.py
> +++ b/tests/TestSuite_unit_tests_pmd_perf.py
> @@ -61,20 +61,20 @@ class TestUnitTestsPmdPerf(TestCase):
>          """
>          self.dut_ports = self.dut.get_ports(self.nic)
>          self.verify(len(self.dut_ports) >= 1, "Insufficient ports for testing")
> -        [self.arch, machine, env, toolchain] = self.target.split('-')
> +        [self.arch, machine, _, toolchain] = self.target.split('-')
>          self.verify(self.arch in ["x86_64", "arm64"], "pmd perf request running
> in x86_64 or arm64")
>          self.burst_ctlmodes = ['poll_before_xmit', 'poll_after_xmit']
>          self.rxtx_modes = ['vector', 'scalar', 'full', 'hybrid']
>          self.anchors = ['rxtx', 'rxonly', 'txonly']
> 
>          # for better scalar performance data, need disable
> CONFIG_RTE_IXGBE_INC_VECTOR
> -        [arch, machine, env, toolchain] = self.target.split('-')
> -        self.dut.send_expect("sed -i -e
> 's/CONFIG_RTE_IXGBE_INC_VECTOR=y/CONFIG_RTE_IXGBE_INC_VECTOR=n/'
> config/common_%s" % env, "# ", 30)
> +        [arch, machine, _, toolchain] = self.target.split('-')
> +        self.dut.send_expect("sed -i -e
> 's/CONFIG_RTE_IXGBE_INC_VECTOR=y/CONFIG_RTE_IXGBE_INC_VECTOR=n/'
> config/common_base", "# ", 30)
>          self.dut.build_install_dpdk(self.target)
>          out = self.dut.build_dpdk_apps('./app/test/')
>          self.verify('make: Leaving directory' in out, "Compilation failed")
>          self.dut.send_expect("mv -f ./app/test/test ./app/test/test_scalar", "# ")
> -        self.dut.send_expect("sed -i -e
> 's/CONFIG_RTE_IXGBE_INC_VECTOR=n/CONFIG_RTE_IXGBE_INC_VECTOR=y/'
> config/common_%s" % env, "# ", 30)
> +        self.dut.send_expect("sed -i -e
> 's/CONFIG_RTE_IXGBE_INC_VECTOR=n/CONFIG_RTE_IXGBE_INC_VECTOR=y/'
> config/common_base", "# ", 30)
>          self.dut.build_install_dpdk(self.target)
>          out = self.dut.build_dpdk_apps('./app/test/')
>          self.verify('make: Leaving directory' in out, "Compilation failed")
> --
> 2.7.4



More information about the dts mailing list