test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 00/15] support meson build method
@ 2020-09-03  8:28 Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 01/15] tests/TestSuite_unit_tests_cmdline:update to support meson build Chen Linglix
                   ` (16 more replies)
  0 siblings, 17 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

modify dts to support meson build method.

Chen Linglix (15):
  tests/TestSuite_unit_tests_cmdline:update to support meson build
  tests/TestSuite_unit_tests_crc:update to support meson build
  tests/TestSuite_unit_tests_dump:update to support meson build
  tests/TestSuite_unit_tests_eal:update to support meson build
  tests/TestSuite_unit_tests_kni:update to support meson build
  tests/TestSuite_unit_tests_loopback:update to support meson build
  tests/TestSuite_unit_tests_lpm:update to support meson build
  tests/TestSuite_unit_tests_mbuf:update to support meson build
  tests/TestSuite_unit_tests_mempool:update to support meson build
  tests/TestSuite_unit_tests_pmd_perf:update to support meson build
  tests/TestSuite_unit_tests_power:update to support meson build
  tests/TestSuite_unit_tests_qos:update to support meson build
  tests/TestSuite_unit_tests_ringpmd:update to support meson build
  tests/TestSuite_unit_tests_ring:update to support meson build
  tests/TestSuite_unit_tests_timer:update to support meson build

 tests/TestSuite_unit_tests_cmdline.py  |  3 ++-
 tests/TestSuite_unit_tests_crc.py      |  3 ++-
 tests/TestSuite_unit_tests_dump.py     | 30 +++++++++++++++++++-----------
 tests/TestSuite_unit_tests_eal.py      | 10 ++++++----
 tests/TestSuite_unit_tests_kni.py      |  3 ++-
 tests/TestSuite_unit_tests_loopback.py | 18 +++++++-----------
 tests/TestSuite_unit_tests_lpm.py      | 20 ++++++++------------
 tests/TestSuite_unit_tests_mbuf.py     |  3 ++-
 tests/TestSuite_unit_tests_mempool.py  |  6 ++++--
 tests/TestSuite_unit_tests_pmd_perf.py |  6 ++++--
 tests/TestSuite_unit_tests_power.py    |  9 ++++++---
 tests/TestSuite_unit_tests_qos.py      |  9 ++++++---
 tests/TestSuite_unit_tests_ring.py     |  6 ++++--
 tests/TestSuite_unit_tests_ringpmd.py  |  6 ++++--
 tests/TestSuite_unit_tests_timer.py    |  6 ++++--
 15 files changed, 80 insertions(+), 58 deletions(-)

-- 
1.8.3.1


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

* [dts] [dts 01/15] tests/TestSuite_unit_tests_cmdline:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 02/15] tests/TestSuite_unit_tests_crc:update " Chen Linglix
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_cmdline.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_unit_tests_cmdline.py b/tests/TestSuite_unit_tests_cmdline.py
index 057020c..ac49c1b 100644
--- a/tests/TestSuite_unit_tests_cmdline.py
+++ b/tests/TestSuite_unit_tests_cmdline.py
@@ -71,7 +71,8 @@ class TestUnitTestsCmdline(TestCase):
         Run cmdline autotests in RTE command line.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("cmdline_autotest", "RTE>>", 60)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
1.8.3.1


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

* [dts] [dts 02/15] tests/TestSuite_unit_tests_crc:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 01/15] tests/TestSuite_unit_tests_cmdline:update to support meson build Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 03/15] tests/TestSuite_unit_tests_dump:update " Chen Linglix
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_crc.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_unit_tests_crc.py b/tests/TestSuite_unit_tests_crc.py
index f182d35..9bc5e62 100644
--- a/tests/TestSuite_unit_tests_crc.py
+++ b/tests/TestSuite_unit_tests_crc.py
@@ -70,7 +70,8 @@ class TestUnitTestsCrc(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)        
         out = self.dut.send_expect("crc_autotest", "RTE>>", 60)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
1.8.3.1


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

* [dts] [dts 03/15] tests/TestSuite_unit_tests_dump:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 01/15] tests/TestSuite_unit_tests_cmdline:update to support meson build Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 02/15] tests/TestSuite_unit_tests_crc:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 04/15] tests/TestSuite_unit_tests_eal:update " Chen Linglix
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_dump.py | 30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

diff --git a/tests/TestSuite_unit_tests_dump.py b/tests/TestSuite_unit_tests_dump.py
index 57dfc3a..603cc1a 100644
--- a/tests/TestSuite_unit_tests_dump.py
+++ b/tests/TestSuite_unit_tests_dump.py
@@ -80,7 +80,8 @@ class TestUnitTestsDump(TestCase):
         Run history log dump test case.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", self.start_test_time)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", self.start_test_time)
         out = self.dut.send_expect("dump_log_history", "RTE>>", self.run_cmd_time * 2)
         self.dut.send_expect("quit", "# ")
         self.verify("EAL" in out, "Test failed")
@@ -90,7 +91,7 @@ class TestUnitTestsDump(TestCase):
         Run history log dump test case.
         """
         eal_params = self.dut.create_eal_parameters(cores='1S/4C/1T')
-        cmd = "./%s/app/testpmd %s  -- -i" % (self.target,eal_params)
+        cmd = self.dut.apps_name['test-pmd'] + eal_params + '-- -i'        
 
         self.dut.send_expect("%s" % cmd, "testpmd>", self.start_test_time)
         out = self.dut.send_expect("dump_ring", "testpmd>", self.run_cmd_time)
@@ -113,7 +114,7 @@ class TestUnitTestsDump(TestCase):
         Run mempool dump test case.
         """
         eal_params = self.dut.create_eal_parameters(cores='1S/4C/1T')
-        cmd = "./%s/app/testpmd %s  -- -i" % (self.target,eal_params)
+        cmd = self.dut.apps_name['test-pmd'] + eal_params + '-- -i'
 
         self.dut.send_expect("%s" % cmd, "testpmd>", self.start_test_time)
         out = self.dut.send_expect("dump_mempool", "testpmd>", self.run_cmd_time * 2)
@@ -135,7 +136,8 @@ class TestUnitTestsDump(TestCase):
         Run physical memory dump test case.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target,eal_params), "R.*T.*E.*>.*>", self.start_test_time)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", self.start_test_time)
         out = self.dut.send_expect("dump_physmem", "RTE>>", self.run_cmd_time * 2)
         self.dut.send_expect("quit", "# ")
         elements = ['Segment', 'IOVA', 'len', 'virt', 'socket_id', 'hugepage_sz', 'nchannel', 'nrank']
@@ -156,7 +158,7 @@ class TestUnitTestsDump(TestCase):
         Run memzone dump test case.
         """
         eal_params = self.dut.create_eal_parameters(cores='1S/4C/1T')
-        cmd = "./%s/app/testpmd %s  -- -i" % (self.target,eal_params)
+        cmd = self.dut.apps_name['test-pmd'] + eal_params + '-- -i'
 
         self.dut.send_expect("%s" % cmd, "testpmd>", self.start_test_time)
         out = self.dut.send_expect("dump_memzone", "testpmd>", self.run_cmd_time * 2)
@@ -180,7 +182,8 @@ class TestUnitTestsDump(TestCase):
         Run struct size dump test case.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target,eal_params), "R.*T.*E.*>.*>", self.start_test_time)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", self.start_test_time)       
         out = self.dut.send_expect("dump_struct_sizes", "RTE>>", self.run_cmd_time * 2)
         self.dut.send_expect("quit", "# ")
 
@@ -201,14 +204,16 @@ class TestUnitTestsDump(TestCase):
         test_port = self.dut_ports[0]
         pci_address = self.dut.ports_info[test_port]['pci'];
         eal_params = self.dut.create_eal_parameters(cores=self.cores,b_ports=[pci_address])
-        self.dut.send_expect("./%s/app/test %s" % (self.target,eal_params), "R.*T.*E.*>.*>", self.start_test_time)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", self.start_test_time)       
         out = self.dut.send_expect("dump_devargs", "RTE>>", self.run_cmd_time * 2)
         self.dut.send_expect("quit", "# ")
         black_str = " %s" % pci_address
         self.verify(black_str in out, "Dump black list failed")
 
         eal_params1 = self.dut.create_eal_parameters(cores=self.cores,ports=[pci_address])
-        self.dut.send_expect("./%s/app/test %s" % (self.target,eal_params1), "R.*T.*E.*>.*>", self.start_test_time)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params1,"R.*T.*E.*>.*>", self.start_test_time)
         out = self.dut.send_expect("dump_devargs", "RTE>>", self.run_cmd_time * 2)
         self.dut.send_expect("quit", "# ")
 
@@ -220,7 +225,8 @@ class TestUnitTestsDump(TestCase):
         Run dump malloc dump test case.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target,eal_params), "R.*T.*E.*>.*>", self.start_test_time)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", self.start_test_time)
         out = self.dut.send_expect("dump_malloc_stats", "RTE>>", self.run_cmd_time * 2)
         self.dut.send_expect("quit", "# ")
         match_regex = "Heap id:(\d*)"
@@ -236,7 +242,8 @@ class TestUnitTestsDump(TestCase):
         Run malloc heaps dump test case.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target,eal_params), "R.*T.*E.*>.*>", self.start_test_time)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", self.start_test_time)
         out = self.dut.send_expect("dump_malloc_heaps", "RTE>>", self.run_cmd_time * 2)
         self.dut.send_expect("quit", "# ")
 
@@ -256,7 +263,8 @@ class TestUnitTestsDump(TestCase):
         Run log types dump test case.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target,eal_params), "R.*T.*E.*>.*>", self.start_test_time)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", self.start_test_time)        
         out = self.dut.send_expect("dump_log_types", "RTE>>", self.run_cmd_time * 2)
         self.dut.send_expect("quit", "# ")
 
-- 
1.8.3.1


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

* [dts] [dts 04/15] tests/TestSuite_unit_tests_eal:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (2 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 03/15] tests/TestSuite_unit_tests_dump:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 05/15] tests/TestSuite_unit_tests_kni:update " Chen Linglix
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_eal.py | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
index 9c80663..99710a9 100644
--- a/tests/TestSuite_unit_tests_eal.py
+++ b/tests/TestSuite_unit_tests_eal.py
@@ -36,7 +36,8 @@ class TestUnitTestsEal(TestCase):
         self.run_cmd_time = 180
         default_cores = '1S/4C/1T'
         eal_params = self.dut.create_eal_parameters(cores=default_cores)
-        self.test_app_cmdline = "./%s/app/test %s" % (self.target,eal_params)
+        app_name = self.dut.apps_name['test']
+        self.test_app_cmdline = app_name + eal_params
 
     def set_up(self):
         """
@@ -179,7 +180,7 @@ class TestUnitTestsEal(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters()
-        self.dut.send_expect("./%s/app/test %s" % (self.target,eal_params),
+        self.dut.send_expect(self.test_app_cmdline,       
                              "R.*T.*E.*>.*>", self.start_test_time)
         out = self.dut.send_expect("hash_readwrite_lf_perf_autotest",
                                    "RTE>>", self.run_cmd_time*3)
@@ -192,7 +193,7 @@ class TestUnitTestsEal(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters(cores='1S/4C/1T')
-        self.dut.send_expect("./%s/app/test %s" % (self.target,eal_params),
+        self.dut.send_expect(self.test_app_cmdline,
                              "R.*T.*E.*>.*>", self.start_test_time)
         out = self.dut.send_expect("hash_readwrite_perf_autotest",
                                    "RTE>>", self.run_cmd_time*3)
@@ -208,7 +209,8 @@ class TestUnitTestsEal(TestCase):
             cmdline = self.test_app_cmdline
         else:
             # mask cores only on socket 0
-            cmdline = "%s ./%s/app/test -n 1 -c 5" % (self.dut.taskset(1), self.target)
+            app_name = self.dut.apps_name['test']
+            cmdline = self.dut.taskset(1)+ ' ' +app_name+' -n 1 -c 5'            
         self.dut.send_expect(cmdline, "R.*T.*E.*>.*>", self.start_test_time)
         out = self.dut.send_expect("func_reentrancy_autotest", "RTE>>", self.run_cmd_time)
         self.dut.send_expect("quit", "# ")
-- 
1.8.3.1


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

* [dts] [dts 05/15] tests/TestSuite_unit_tests_kni:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (3 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 04/15] tests/TestSuite_unit_tests_eal:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 06/15] tests/TestSuite_unit_tests_loopback:update " Chen Linglix
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_kni.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_unit_tests_kni.py b/tests/TestSuite_unit_tests_kni.py
index ecf412b..abf8a80 100644
--- a/tests/TestSuite_unit_tests_kni.py
+++ b/tests/TestSuite_unit_tests_kni.py
@@ -90,7 +90,8 @@ class TestUnitTestsKni(TestCase):
         Run kni autotest.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)        
         out = self.dut.send_expect("kni_autotest", "RTE>>", 60)
         self.dut.send_expect("quit", "# ")
 
-- 
1.8.3.1


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

* [dts] [dts 06/15] tests/TestSuite_unit_tests_loopback:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (4 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 05/15] tests/TestSuite_unit_tests_kni:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 07/15] tests/TestSuite_unit_tests_lpm:update " Chen Linglix
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_loopback.py | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/tests/TestSuite_unit_tests_loopback.py b/tests/TestSuite_unit_tests_loopback.py
index c1d37b2..6babc2a 100644
--- a/tests/TestSuite_unit_tests_loopback.py
+++ b/tests/TestSuite_unit_tests_loopback.py
@@ -92,14 +92,13 @@ class TestUnitTestsLoopback(TestCase):
         Run pmd stream control mode burst test case.
         """
         self.dut.send_expect("sed -i -e 's/lpbk_mode = 0/lpbk_mode = 1/' app/test/test_pmd_perf.c", "# ", 30)
-        out = self.dut.send_expect("make -j %s app/test_sub O=%s" % (self.dut.number_of_cores, self.target), "#")
-        self.verify("Error" not in out, "compilation l3fwd-power error")
-        self.verify("No such" not in out, "Compilation error")
+        self.dut.build_install_dpdk(self.target)
 
         self.tester.send_expect("rm -rf ./getPackageByTcpdump.cap", "#")
         self.tester.send_expect("tcpdump -i %s ether[12:2] != '0x88cc' -w ./getPackageByTcpdump.cap 2> /dev/null& " % self.tester_itf, "#")
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params, "R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("pmd_perf_autotest", "RTE>>", 120)
         print(out)
         self.dut.send_expect("quit", "# ")
@@ -115,14 +114,13 @@ class TestUnitTestsLoopback(TestCase):
         """
         self.dut.send_expect("sed -i -e 's/lpbk_mode = 1/lpbk_mode = 0/' app/test/test_pmd_perf.c", "# ", 30)
         self.dut.send_expect("sed -i -e '/check_all_ports_link_status(nb_ports, RTE_PORT_ALL);/a\        sleep(6);' app/test/test_pmd_perf.c", "# ", 30)
-        out = self.dut.send_expect("make -j %s app/test_sub O=%s" % (self.dut.number_of_cores, self.target), "#")
-        self.verify("Error" not in out, "compilation l3fwd-power error")
-        self.verify("No such" not in out, "Compilation error")
+        self.dut.build_install_dpdk(self.target)
 
         self.tester.send_expect("rm -rf ./getPackageByTcpdump.cap", "#")
         self.tester.send_expect("tcpdump -i %s -w ./getPackageByTcpdump.cap 2> /dev/null& " % self.tester_itf, "#")
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params, "R.*T.*E.*>.*>", 60)       
         self.dut.send_command("pmd_perf_autotest", 30)
         # There is no packet loopback, so the test is hung.
         # It needs to kill the process manually.
@@ -144,7 +142,5 @@ class TestUnitTestsLoopback(TestCase):
         """
         self.dut.send_expect("cp %s app/test/test_pmd_perf.c" % self.tmp_path, "# ")
         self.dut.send_expect("sed -i -e 's/#define MAX_TRAFFIC_BURST              32/#define MAX_TRAFFIC_BURST              %s/' app/test/test_pmd_perf.c" % self.max_traffic_burst, "# ", 30)
-        out = self.dut.send_expect("make -j %s app/test_sub O=%s" % (self.dut.number_of_cores, self.target), "#")
-        self.verify("Error" not in out, "compilation l3fwd-power error")
-        self.verify("No such" not in out, "Compilation error")
+        self.dut.build_install_dpdk(self.target)        
         self.dut.kill_all()
-- 
1.8.3.1


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

* [dts] [dts 07/15] tests/TestSuite_unit_tests_lpm:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (5 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 06/15] tests/TestSuite_unit_tests_loopback:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 08/15] tests/TestSuite_unit_tests_mbuf:update " Chen Linglix
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_lpm.py | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/tests/TestSuite_unit_tests_lpm.py b/tests/TestSuite_unit_tests_lpm.py
index 7a35935..dd4d534 100644
--- a/tests/TestSuite_unit_tests_lpm.py
+++ b/tests/TestSuite_unit_tests_lpm.py
@@ -73,9 +73,8 @@ class TestUnitTestsLpmIpv6(TestCase):
         Run lpm for IPv4 autotest.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect(
-            "./%s/app/test %s"
-            % (self.target,eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params, "R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("lpm_autotest", "RTE>>", 120)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
@@ -85,9 +84,8 @@ class TestUnitTestsLpmIpv6(TestCase):
         Run lpm for IPv6 autotest.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect(
-            "./%s/app/test %s"
-            % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params, "R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("lpm6_autotest", "RTE>>", 120)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
@@ -97,9 +95,8 @@ class TestUnitTestsLpmIpv6(TestCase):
         Run lpm for IPv4 performance autotest.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect(
-            "./%s/app/test %s"
-            % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params, "R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("lpm_perf_autotest", "RTE>>", 600)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
@@ -109,9 +106,8 @@ class TestUnitTestsLpmIpv6(TestCase):
         Run lpm for IPv6 performance autotest.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect(
-            "./%s/app/test %s"
-            % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params, "R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("lpm6_perf_autotest", "RTE>>", 120)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
1.8.3.1


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

* [dts] [dts 08/15] tests/TestSuite_unit_tests_mbuf:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (6 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 07/15] tests/TestSuite_unit_tests_lpm:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 09/15] tests/TestSuite_unit_tests_mempool:update " Chen Linglix
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_mbuf.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_unit_tests_mbuf.py b/tests/TestSuite_unit_tests_mbuf.py
index 366ee3f..05b633c 100644
--- a/tests/TestSuite_unit_tests_mbuf.py
+++ b/tests/TestSuite_unit_tests_mbuf.py
@@ -71,7 +71,8 @@ class TestUnitTestsMbuf(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)        
         out = self.dut.send_expect("mbuf_autotest", "RTE>>", 180)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
1.8.3.1


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

* [dts] [dts 09/15] tests/TestSuite_unit_tests_mempool:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (7 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 08/15] tests/TestSuite_unit_tests_mbuf:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 10/15] tests/TestSuite_unit_tests_pmd_perf:update " Chen Linglix
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_mempool.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_unit_tests_mempool.py b/tests/TestSuite_unit_tests_mempool.py
index 1a41daf..4907fd4 100644
--- a/tests/TestSuite_unit_tests_mempool.py
+++ b/tests/TestSuite_unit_tests_mempool.py
@@ -71,7 +71,8 @@ class TestUnitTestsMempool(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("mempool_autotest", "RTE>>", 120)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
@@ -81,7 +82,8 @@ class TestUnitTestsMempool(TestCase):
         Run memory pool performance autotest.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)        
         out = self.dut.send_expect("mempool_perf_autotest", "RTE>>", 2000)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
1.8.3.1


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

* [dts] [dts 10/15] tests/TestSuite_unit_tests_pmd_perf:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (8 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 09/15] tests/TestSuite_unit_tests_mempool:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 11/15] tests/TestSuite_unit_tests_power:update " Chen Linglix
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_pmd_perf.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_unit_tests_pmd_perf.py b/tests/TestSuite_unit_tests_pmd_perf.py
index f8b36d1..4546169 100644
--- a/tests/TestSuite_unit_tests_pmd_perf.py
+++ b/tests/TestSuite_unit_tests_pmd_perf.py
@@ -80,7 +80,8 @@ class TestUnitTestsPmdPerf(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores, ports=[0,1])
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)
         for mode in self.burst_ctlmodes:
             self.dut.send_expect("set_rxtx_sc %s" % mode, "RTE>>", 10)
             out = self.dut.send_expect("pmd_perf_autotest", "RTE>>", 120)
@@ -102,7 +103,8 @@ class TestUnitTestsPmdPerf(TestCase):
         self.result_table_create(self.table_header)
         eal_params = self.dut.create_eal_parameters(cores=self.cores, ports=[0,1])
         print((self.table_header))
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)        
         for mode in self.rxtx_modes:
             table_row = [mode]
             self.dut.send_expect("set_rxtx_sc continuous", "RTE>>", 10)
-- 
1.8.3.1


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

* [dts] [dts 11/15] tests/TestSuite_unit_tests_power:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (9 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 10/15] tests/TestSuite_unit_tests_pmd_perf:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 12/15] tests/TestSuite_unit_tests_qos:update " Chen Linglix
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_power.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_unit_tests_power.py b/tests/TestSuite_unit_tests_power.py
index fb79505..b09bcd6 100644
--- a/tests/TestSuite_unit_tests_power.py
+++ b/tests/TestSuite_unit_tests_power.py
@@ -72,7 +72,8 @@ class TestUnitTestsPower(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("power_autotest", "RTE>>", 60)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
@@ -84,7 +85,8 @@ class TestUnitTestsPower(TestCase):
         # This acpi driver test case need correct BIOS and Grub settings.
         # otherwise, the power lib initialization will be failed
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60) 
         out = self.dut.send_expect("power_cpufreq_autotest", "RTE>>", 60)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
@@ -96,7 +98,8 @@ class TestUnitTestsPower(TestCase):
         # This acpi driver test case need correct BIOS and Grub settings.
         # otherwise, the power lib initialization will be failed
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)        
         out = self.dut.send_expect("power_caps_autotest", "RTE>>", 60)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
1.8.3.1


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

* [dts] [dts 12/15] tests/TestSuite_unit_tests_qos:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (10 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 11/15] tests/TestSuite_unit_tests_power:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 13/15] tests/TestSuite_unit_tests_ringpmd:update " Chen Linglix
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_qos.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_unit_tests_qos.py b/tests/TestSuite_unit_tests_qos.py
index 5047b8e..8ccaea1 100644
--- a/tests/TestSuite_unit_tests_qos.py
+++ b/tests/TestSuite_unit_tests_qos.py
@@ -74,7 +74,8 @@ class TestUnitTestsQos(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 30)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 30)
         out = self.dut.send_expect("red_autotest", "RTE>>", 180)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
@@ -85,7 +86,8 @@ class TestUnitTestsQos(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 30)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 30)
         out = self.dut.send_expect("meter_autotest", "RTE>>", 5)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
@@ -99,7 +101,8 @@ class TestUnitTestsQos(TestCase):
         self.verify(arch in ["x86_64" ,"arm64" ,"ppc_64"], "Sched auto_test only support in x86_64 or arm64 ppc_64")
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 30)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 30)
         out = self.dut.send_expect("sched_autotest", "RTE>>", 5)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
1.8.3.1


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

* [dts] [dts 13/15] tests/TestSuite_unit_tests_ringpmd:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (11 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 12/15] tests/TestSuite_unit_tests_qos:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 14/15] tests/TestSuite_unit_tests_ring:update " Chen Linglix
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_ringpmd.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_unit_tests_ringpmd.py b/tests/TestSuite_unit_tests_ringpmd.py
index 19abb6e..7050a44 100644
--- a/tests/TestSuite_unit_tests_ringpmd.py
+++ b/tests/TestSuite_unit_tests_ringpmd.py
@@ -75,13 +75,15 @@ class TestUnitTestsRingPmd(TestCase):
         dev_str2 = "net_ring1"
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 10)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 10)
         out = self.dut.send_expect("ring_pmd_autotest", "RTE>>", 120)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Default no eth_ring devices Test failed")
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores,vdevs=[dev_str1,dev_str2])
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 10)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 10)
         out = self.dut.send_expect("ring_pmd_autotest", "RTE>>", 120)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Two eth_ring devices test failed")
-- 
1.8.3.1


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

* [dts] [dts 14/15] tests/TestSuite_unit_tests_ring:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (12 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 13/15] tests/TestSuite_unit_tests_ringpmd:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:28 ` [dts] [dts 15/15] tests/TestSuite_unit_tests_timer:update " Chen Linglix
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_ring.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_unit_tests_ring.py b/tests/TestSuite_unit_tests_ring.py
index 896912b..8c7e062 100644
--- a/tests/TestSuite_unit_tests_ring.py
+++ b/tests/TestSuite_unit_tests_ring.py
@@ -71,7 +71,8 @@ class TestUnitTestsRing(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("ring_autotest", "RTE>>", 36000)
         self.verify("Test OK" in out, "Test failed")
 
@@ -81,7 +82,8 @@ class TestUnitTestsRing(TestCase):
         """
 
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target ,eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)        
         out = self.dut.send_expect("ring_perf_autotest", "RTE>>", 210)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
1.8.3.1


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

* [dts] [dts 15/15] tests/TestSuite_unit_tests_timer:update to support meson build
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (13 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 14/15] tests/TestSuite_unit_tests_ring:update " Chen Linglix
@ 2020-09-03  8:28 ` Chen Linglix
  2020-09-03  8:41 ` [dts] [PATCH V1 00/15] support meson build method Chen, LingliX
  2020-09-04  6:09 ` Ma, LihongX
  16 siblings, 0 replies; 19+ messages in thread
From: Chen Linglix @ 2020-09-03  8:28 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_timer.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_unit_tests_timer.py b/tests/TestSuite_unit_tests_timer.py
index 525220c..fef8408 100644
--- a/tests/TestSuite_unit_tests_timer.py
+++ b/tests/TestSuite_unit_tests_timer.py
@@ -83,7 +83,8 @@ class TestUnitTestsTimer(TestCase):
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
         timeout = self.get_nic_timeout()
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", timeout)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", timeout)
         out = self.dut.send_expect("timer_autotest", "RTE>>", self.this_timeout)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
@@ -93,7 +94,8 @@ class TestUnitTestsTimer(TestCase):
         Run timer autotest.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("timer_perf_autotest", "RTE>>", self.this_timeout)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
1.8.3.1


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

* Re: [dts] [PATCH V1 00/15] support meson build method
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (14 preceding siblings ...)
  2020-09-03  8:28 ` [dts] [dts 15/15] tests/TestSuite_unit_tests_timer:update " Chen Linglix
@ 2020-09-03  8:41 ` Chen, LingliX
  2020-09-09  8:09   ` Tu, Lijuan
  2020-09-04  6:09 ` Ma, LihongX
  16 siblings, 1 reply; 19+ messages in thread
From: Chen, LingliX @ 2020-09-03  8:41 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 2266 bytes --]

Tested-by:  Chen, LingliX <linglix.chen@intel.com>

Regards,
Chen, LingliX

-----Original Message-----
From: Chen, LingliX 
Sent: Thursday, September 3, 2020 4:28 PM
To: dts@dpdk.org
Cc: Chen, LingliX <linglix.chen@intel.com>
Subject: [dts][PATCH V1 00/15] support meson build method

modify dts to support meson build method.

Chen Linglix (15):
  tests/TestSuite_unit_tests_cmdline:update to support meson build
  tests/TestSuite_unit_tests_crc:update to support meson build
  tests/TestSuite_unit_tests_dump:update to support meson build
  tests/TestSuite_unit_tests_eal:update to support meson build
  tests/TestSuite_unit_tests_kni:update to support meson build
  tests/TestSuite_unit_tests_loopback:update to support meson build
  tests/TestSuite_unit_tests_lpm:update to support meson build
  tests/TestSuite_unit_tests_mbuf:update to support meson build
  tests/TestSuite_unit_tests_mempool:update to support meson build
  tests/TestSuite_unit_tests_pmd_perf:update to support meson build
  tests/TestSuite_unit_tests_power:update to support meson build
  tests/TestSuite_unit_tests_qos:update to support meson build
  tests/TestSuite_unit_tests_ringpmd:update to support meson build
  tests/TestSuite_unit_tests_ring:update to support meson build
  tests/TestSuite_unit_tests_timer:update to support meson build

 tests/TestSuite_unit_tests_cmdline.py  |  3 ++-
 tests/TestSuite_unit_tests_crc.py      |  3 ++-
 tests/TestSuite_unit_tests_dump.py     | 30 +++++++++++++++++++-----------
 tests/TestSuite_unit_tests_eal.py      | 10 ++++++----
 tests/TestSuite_unit_tests_kni.py      |  3 ++-
 tests/TestSuite_unit_tests_loopback.py | 18 +++++++-----------
 tests/TestSuite_unit_tests_lpm.py      | 20 ++++++++------------
 tests/TestSuite_unit_tests_mbuf.py     |  3 ++-
 tests/TestSuite_unit_tests_mempool.py  |  6 ++++--  tests/TestSuite_unit_tests_pmd_perf.py |  6 ++++--
 tests/TestSuite_unit_tests_power.py    |  9 ++++++---
 tests/TestSuite_unit_tests_qos.py      |  9 ++++++---
 tests/TestSuite_unit_tests_ring.py     |  6 ++++--
 tests/TestSuite_unit_tests_ringpmd.py  |  6 ++++--
 tests/TestSuite_unit_tests_timer.py    |  6 ++++--
 15 files changed, 80 insertions(+), 58 deletions(-)

--
1.8.3.1


[-- Attachment #2: TestUnitTestsCmdline.log --]
[-- Type: application/octet-stream, Size: 2332 bytes --]

[-- Attachment #3: TestUnitTestsCrc.log --]
[-- Type: application/octet-stream, Size: 31441 bytes --]

[-- Attachment #4: TestUnitTestsDump.log --]
[-- Type: application/octet-stream, Size: 61008 bytes --]

[-- Attachment #5: TestUnitTestsEal.log --]
[-- Type: application/octet-stream, Size: 428887 bytes --]

[-- Attachment #6: TestUnitTestsKni.log --]
[-- Type: application/octet-stream, Size: 217261 bytes --]

[-- Attachment #7: TestUnitTestsLoopback.log --]
[-- Type: application/octet-stream, Size: 488492 bytes --]

[-- Attachment #8: TestUnitTestsLpmIpv6.log --]
[-- Type: application/octet-stream, Size: 13387 bytes --]

[-- Attachment #9: TestUnitTestsMbuf.log --]
[-- Type: application/octet-stream, Size: 137509 bytes --]

[-- Attachment #10: TestUnitTestsMempool.log --]
[-- Type: application/octet-stream, Size: 118238 bytes --]

[-- Attachment #11: TestUnitTestsPmdPerf.log --]
[-- Type: application/octet-stream, Size: 19799 bytes --]

[-- Attachment #12: TestUnitTestsPower.log --]
[-- Type: application/octet-stream, Size: 7044 bytes --]

[-- Attachment #13: TestUnitTestsQos.log --]
[-- Type: application/octet-stream, Size: 14577 bytes --]

[-- Attachment #14: TestUnitTestsRing.log --]
[-- Type: application/octet-stream, Size: 76560 bytes --]

[-- Attachment #15: TestUnitTestsRingPmd.log --]
[-- Type: application/octet-stream, Size: 6204 bytes --]

[-- Attachment #16: TestUnitTestsTimer.log --]
[-- Type: application/octet-stream, Size: 10908 bytes --]

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

* Re: [dts] [PATCH V1 00/15] support meson build method
  2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
                   ` (15 preceding siblings ...)
  2020-09-03  8:41 ` [dts] [PATCH V1 00/15] support meson build method Chen, LingliX
@ 2020-09-04  6:09 ` Ma, LihongX
  16 siblings, 0 replies; 19+ messages in thread
From: Ma, LihongX @ 2020-09-04  6:09 UTC (permalink / raw)
  To: Chen, LingliX, dts; +Cc: Chen, LingliX

Ack-by: Lihong Ma<lihongx.ma@intel.com>

Regards,
Ma,lihong

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Chen Linglix
> Sent: Thursday, September 3, 2020 4:28 PM
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: [dts] [PATCH V1 00/15] support meson build method
> 
> modify dts to support meson build method.
> 
> Chen Linglix (15):
>   tests/TestSuite_unit_tests_cmdline:update to support meson build
>   tests/TestSuite_unit_tests_crc:update to support meson build
>   tests/TestSuite_unit_tests_dump:update to support meson build
>   tests/TestSuite_unit_tests_eal:update to support meson build
>   tests/TestSuite_unit_tests_kni:update to support meson build
>   tests/TestSuite_unit_tests_loopback:update to support meson build
>   tests/TestSuite_unit_tests_lpm:update to support meson build
>   tests/TestSuite_unit_tests_mbuf:update to support meson build
>   tests/TestSuite_unit_tests_mempool:update to support meson build
>   tests/TestSuite_unit_tests_pmd_perf:update to support meson build
>   tests/TestSuite_unit_tests_power:update to support meson build
>   tests/TestSuite_unit_tests_qos:update to support meson build
>   tests/TestSuite_unit_tests_ringpmd:update to support meson build
>   tests/TestSuite_unit_tests_ring:update to support meson build
>   tests/TestSuite_unit_tests_timer:update to support meson build
> 
>  tests/TestSuite_unit_tests_cmdline.py  |  3 ++-
>  tests/TestSuite_unit_tests_crc.py      |  3 ++-
>  tests/TestSuite_unit_tests_dump.py     | 30 +++++++++++++++++++-----------
>  tests/TestSuite_unit_tests_eal.py      | 10 ++++++----
>  tests/TestSuite_unit_tests_kni.py      |  3 ++-
>  tests/TestSuite_unit_tests_loopback.py | 18 +++++++-----------
>  tests/TestSuite_unit_tests_lpm.py      | 20 ++++++++------------
>  tests/TestSuite_unit_tests_mbuf.py     |  3 ++-
>  tests/TestSuite_unit_tests_mempool.py  |  6 ++++--
> tests/TestSuite_unit_tests_pmd_perf.py |  6 ++++--
>  tests/TestSuite_unit_tests_power.py    |  9 ++++++---
>  tests/TestSuite_unit_tests_qos.py      |  9 ++++++---
>  tests/TestSuite_unit_tests_ring.py     |  6 ++++--
>  tests/TestSuite_unit_tests_ringpmd.py  |  6 ++++--
>  tests/TestSuite_unit_tests_timer.py    |  6 ++++--
>  15 files changed, 80 insertions(+), 58 deletions(-)
> 
> --
> 1.8.3.1


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

* Re: [dts] [PATCH V1 00/15] support meson build method
  2020-09-03  8:41 ` [dts] [PATCH V1 00/15] support meson build method Chen, LingliX
@ 2020-09-09  8:09   ` Tu, Lijuan
  0 siblings, 0 replies; 19+ messages in thread
From: Tu, Lijuan @ 2020-09-09  8:09 UTC (permalink / raw)
  To: Chen, LingliX, dts

Applied, thanks

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Chen, LingliX
> Sent: 2020年9月3日 16:42
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1 00/15] support meson build method
> 
> Tested-by:  Chen, LingliX <linglix.chen@intel.com>
> 
> Regards,
> Chen, LingliX
> 
> -----Original Message-----
> From: Chen, LingliX
> Sent: Thursday, September 3, 2020 4:28 PM
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: [dts][PATCH V1 00/15] support meson build method
> 
> modify dts to support meson build method.
> 
> Chen Linglix (15):
>   tests/TestSuite_unit_tests_cmdline:update to support meson build
>   tests/TestSuite_unit_tests_crc:update to support meson build
>   tests/TestSuite_unit_tests_dump:update to support meson build
>   tests/TestSuite_unit_tests_eal:update to support meson build
>   tests/TestSuite_unit_tests_kni:update to support meson build
>   tests/TestSuite_unit_tests_loopback:update to support meson build
>   tests/TestSuite_unit_tests_lpm:update to support meson build
>   tests/TestSuite_unit_tests_mbuf:update to support meson build
>   tests/TestSuite_unit_tests_mempool:update to support meson build
>   tests/TestSuite_unit_tests_pmd_perf:update to support meson build
>   tests/TestSuite_unit_tests_power:update to support meson build
>   tests/TestSuite_unit_tests_qos:update to support meson build
>   tests/TestSuite_unit_tests_ringpmd:update to support meson build
>   tests/TestSuite_unit_tests_ring:update to support meson build
>   tests/TestSuite_unit_tests_timer:update to support meson build
> 
>  tests/TestSuite_unit_tests_cmdline.py  |  3 ++-
>  tests/TestSuite_unit_tests_crc.py      |  3 ++-
>  tests/TestSuite_unit_tests_dump.py     | 30 +++++++++++++++++++-----------
>  tests/TestSuite_unit_tests_eal.py      | 10 ++++++----
>  tests/TestSuite_unit_tests_kni.py      |  3 ++-
>  tests/TestSuite_unit_tests_loopback.py | 18 +++++++-----------
>  tests/TestSuite_unit_tests_lpm.py      | 20 ++++++++------------
>  tests/TestSuite_unit_tests_mbuf.py     |  3 ++-
>  tests/TestSuite_unit_tests_mempool.py  |  6 ++++--
> tests/TestSuite_unit_tests_pmd_perf.py |  6 ++++--
>  tests/TestSuite_unit_tests_power.py    |  9 ++++++---
>  tests/TestSuite_unit_tests_qos.py      |  9 ++++++---
>  tests/TestSuite_unit_tests_ring.py     |  6 ++++--
>  tests/TestSuite_unit_tests_ringpmd.py  |  6 ++++--
>  tests/TestSuite_unit_tests_timer.py    |  6 ++++--
>  15 files changed, 80 insertions(+), 58 deletions(-)
> 
> --
> 1.8.3.1


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

end of thread, other threads:[~2020-09-09  8:09 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03  8:28 [dts] [PATCH V1 00/15] support meson build method Chen Linglix
2020-09-03  8:28 ` [dts] [dts 01/15] tests/TestSuite_unit_tests_cmdline:update to support meson build Chen Linglix
2020-09-03  8:28 ` [dts] [dts 02/15] tests/TestSuite_unit_tests_crc:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 03/15] tests/TestSuite_unit_tests_dump:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 04/15] tests/TestSuite_unit_tests_eal:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 05/15] tests/TestSuite_unit_tests_kni:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 06/15] tests/TestSuite_unit_tests_loopback:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 07/15] tests/TestSuite_unit_tests_lpm:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 08/15] tests/TestSuite_unit_tests_mbuf:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 09/15] tests/TestSuite_unit_tests_mempool:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 10/15] tests/TestSuite_unit_tests_pmd_perf:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 11/15] tests/TestSuite_unit_tests_power:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 12/15] tests/TestSuite_unit_tests_qos:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 13/15] tests/TestSuite_unit_tests_ringpmd:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 14/15] tests/TestSuite_unit_tests_ring:update " Chen Linglix
2020-09-03  8:28 ` [dts] [dts 15/15] tests/TestSuite_unit_tests_timer:update " Chen Linglix
2020-09-03  8:41 ` [dts] [PATCH V1 00/15] support meson build method Chen, LingliX
2020-09-09  8:09   ` Tu, Lijuan
2020-09-04  6:09 ` Ma, LihongX

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git