test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/cbdma:Define defaul params in set_up_all
@ 2021-01-14 15:16 Ling Wei
  2021-01-14  7:26 ` Ling, WeiX
  2021-01-21  7:47 ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: Ling Wei @ 2021-01-14 15:16 UTC (permalink / raw)
  To: dts; +Cc: Ling Wei

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(+)

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')
-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-21  7:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 15:16 [dts] [PATCH V1] tests/cbdma:Define defaul params in set_up_all Ling Wei
2021-01-14  7:26 ` Ling, WeiX
2021-01-19  7:53   ` Wang, Yinan
2021-01-21  7:47 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).