test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/multiprocess: modify dut build dpdk app all
@ 2022-04-28 11:58 Lingli Chen
  2022-04-29  2:28 ` Huang, ChenyuX
  2022-05-05  6:36 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Lingli Chen @ 2022-04-28 11:58 UTC (permalink / raw)
  To: dts; +Cc: Lingli Chen

on Fedora35 and RHEL dut build dpdk app symmetric_mp will replace simple_mp, so not found simple_mp.
Solution: dut build dpdk app all.

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 tests/TestSuite_multiprocess.py | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/tests/TestSuite_multiprocess.py b/tests/TestSuite_multiprocess.py
index 33c13022..1e3ffee9 100644
--- a/tests/TestSuite_multiprocess.py
+++ b/tests/TestSuite_multiprocess.py
@@ -61,19 +61,7 @@ class TestMultiprocess(TestCase):
         self.dut_ports = self.dut.get_ports()
         self.socket = self.dut.get_numa_id(self.dut_ports[0])
 
-        out = self.dut.build_dpdk_apps(
-            "./examples/multi_process/client_server_mp/mp_client"
-        )
-        self.verify("Error" not in out, "Compilation mp_client failed")
-        out = self.dut.build_dpdk_apps(
-            "./examples/multi_process/client_server_mp/mp_server"
-        )
-        self.verify("Error" not in out, "Compilation mp_server failed")
-        out = self.dut.build_dpdk_apps("./examples/multi_process/simple_mp")
-        self.verify("Error" not in out, "Compilation simple_mp failed")
-        out = self.dut.build_dpdk_apps("./examples/multi_process/symmetric_mp")
-        self.verify("Error" not in out, "Compilation symmetric_mp failed")
-
+        self.dut.build_install_dpdk(target=self.target, extra_options="-Dexamples=all")
         self.app_mp_client = self.dut.apps_name["mp_client"]
         self.app_mp_server = self.dut.apps_name["mp_server"]
         self.app_simple_mp = self.dut.apps_name["simple_mp"]
-- 
2.17.1


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

end of thread, other threads:[~2022-05-05  6:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28 11:58 [dts][PATCH V1] tests/multiprocess: modify dut build dpdk app all Lingli Chen
2022-04-29  2:28 ` Huang, ChenyuX
2022-05-05  6:36 ` 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).