diff mbox series

[V1] tests/cbdma:Define defaul params in set_up_all

Message ID 20210114151608.1899979-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers show
Series [V1] tests/cbdma:Define defaul params in set_up_all | expand

Commit Message

Ling, WeiX Jan. 14, 2021, 3:16 p.m. UTC
Define defaul params in set_up_all

Signed-off-by: Ling Wei <weix.ling@intel.com>
---
 tests/TestSuite_cbdma.py | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Ling, WeiX Jan. 14, 2021, 7:26 a.m. UTC | #1
Tested-by: Wei Ling <weix.ling@intel.com>

Regards,
Ling Wei

> -----Original Message-----
> From: Ling Wei <weix.ling@intel.com>
> Sent: Thursday, January 14, 2021 11:16 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/cbdma:Define defaul params in set_up_all
Yinan Wang Jan. 19, 2021, 7:53 a.m. UTC | #2
Acked-by: Wang, Yinan <yinan.wang@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Ling, WeiX
> Sent: 2021?1?14? 15:27
> To: Ling, WeiX <weix.ling@intel.com>; dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/cbdma:Define defaul params in
> set_up_all
> 
> Tested-by: Wei Ling <weix.ling@intel.com>
> 
> Regards,
> Ling Wei
> 
> > -----Original Message-----
> > From: Ling Wei <weix.ling@intel.com>
> > Sent: Thursday, January 14, 2021 11:16 PM
> > To: dts@dpdk.org
> > Cc: Ling, WeiX <weix.ling@intel.com>
> > Subject: [dts][PATCH V1] tests/cbdma:Define defaul params in set_up_all
Tu, Lijuan Jan. 21, 2021, 7:47 a.m. UTC | #3
> 
> Define defaul params in set_up_all
> 
> Signed-off-by: Ling Wei <weix.ling@intel.com>

Applied, next time please 
	1, don't duplicate subject with commit message.  
	2, don't use capital in subject in general.  
	3, add a space after colon.
diff mbox series

Patch

diff --git a/tests/TestSuite_cbdma.py b/tests/TestSuite_cbdma.py
index 2685fc4f..f95e2942 100755
--- a/tests/TestSuite_cbdma.py
+++ b/tests/TestSuite_cbdma.py
@@ -55,6 +55,10 @@  class TestCBDMA(TestCase):
         self.verify(len(self.dut_ports) >= 2, "Insufficient ports for testing")
         self.ports_socket = self.dut.get_numa_id(self.dut_ports[0])
         self.get_cbdma_ports_info_and_bind_to_dpdk()
+        # default --proc-type=primary, case 1-6 use default values, case7 use --proc-type=secondary
+        self.cbdma_proc = '--proc-type=primary'
+        # default v_dev is None, case 1-6 use default None values, case7 use --vdev net_null_0
+        self.v_dev = ''
         out = self.dut.build_dpdk_apps('./examples/ioat')
         self.ioat_path = self.dut.apps_name['ioat']
         self.verify('Error' not in out, 'compilation ioat error')