test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Chen, LingliX" <linglix.chen@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Chen, LingliX" <linglix.chen@intel.com>
Subject: RE: [dts][PATCH V1] tests/multiprocess: modify dut build dpdk app all
Date: Thu, 5 May 2022 06:36:27 +0000
Message-ID: <159f5c0362fd44c2b32eb5fe80ed19e6@intel.com> (raw)
In-Reply-To: <20220428115853.4615-1-linglix.chen@intel.com>



> -----Original Message-----
> From: Lingli Chen <linglix.chen@intel.com>
> Sent: 2022年4月28日 19:59
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: [dts][PATCH V1] tests/multiprocess: modify dut build dpdk app all
> 
> 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.

What's the consideration of building all examples, why not replacing  simple_mp with symmetric_mp?

If you are going to build examples/multi_process together, suggest to configure:

-Dexamples='multi_process/client_server_mp/mp_server,multi_process/client_server_mp/mp_client,multi_process/hotplug_mp,multi_process/simple_mp,multi_process/symmetric_mp'

thanks

> 
> 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


      parent reply	other threads:[~2022-05-05  6:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-28 11:58 Lingli Chen
2022-04-29  2:28 ` Huang, ChenyuX
2022-05-05  6:36 ` Tu, Lijuan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=159f5c0362fd44c2b32eb5fe80ed19e6@intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=linglix.chen@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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