From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9995FA0509; Sat, 7 May 2022 03:46:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 69E5A40395; Sat, 7 May 2022 03:46:08 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id CAEC34014F for ; Sat, 7 May 2022 03:46:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651887967; x=1683423967; h=from:to:cc:subject:date:message-id; bh=SEm+sXwLUaI1PCCaxSVbKdkzYdAeM6R+kOA0oWD0WNg=; b=erc2xo07F4bs+DjFrgI2jlePtmTtTwI77W3LopYucoxp+DWKktzZ37KV DjStycum0hBX+aUsBWsrqqRFfdjmSTvXy21CiTeoWJBqH7X04Pz8YO7Of mnkjqPjjdz+9A31gR8UdgaKmhGR4XzRlKDtBeynxTw7yba6zExgzLDMKB PEXMbA1D5N/j37Bxd39xNgxwxgy+t6xG11/PoMjkGc3SabnhVWpQ40lGd ZNmW/67im3zKznLuSdQ+PHcZyud57bQuKIPMYWgLBzxbCa58c+jJ0yGi8 pKTtJCE+MPMsT1nrBohU1KOr7nScR2SKM9DVpOAZtH0ehehYHu5xl5z02 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10339"; a="268521784" X-IronPort-AV: E=Sophos;i="5.91,205,1647327600"; d="scan'208";a="268521784" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 18:46:05 -0700 X-IronPort-AV: E=Sophos;i="5.91,205,1647327600"; d="scan'208";a="600807779" Received: from unknown (HELO DPDK-CVL-tetser102.icx.intel.com) ([10.239.251.92]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 18:46:03 -0700 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V2] tests/multiprocess: modify dut to build examples/multi_process together Date: Sat, 7 May 2022 10:09:24 +0000 Message-Id: <20220507100924.18008-1-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org on Fedora35 and RHEL dut build dpdk app symmetric_mp will replace simple_mp, so not found simple_mp. Solution: dut build dpdk app together. Signed-off-by: Lingli Chen --- v2:modify dut to build examples/multi_process together v1:modify dut build dpdk app all tests/TestSuite_multiprocess.py | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/tests/TestSuite_multiprocess.py b/tests/TestSuite_multiprocess.py index 33c13022..79744722 100644 --- a/tests/TestSuite_multiprocess.py +++ b/tests/TestSuite_multiprocess.py @@ -60,20 +60,8 @@ class TestMultiprocess(TestCase): self.verify(len(self.dut.get_all_cores()) >= 4, "Not enough Cores") 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") - + extra_option = "-Dexamples='multi_process/client_server_mp/mp_server,multi_process/client_server_mp/mp_client,multi_process/simple_mp,multi_process/symmetric_mp'" + self.dut.build_install_dpdk(target=self.target, extra_options=extra_option) 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