From patchwork Thu Apr 28 11:58:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 110398 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ACDC3A0503; Thu, 28 Apr 2022 05:34:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89CB240691; Thu, 28 Apr 2022 05:34:24 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 623784068F for ; Thu, 28 Apr 2022 05:34:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651116863; x=1682652863; h=from:to:cc:subject:date:message-id; bh=xyFHE9eKajvx05r+M+ceU2XaMx5+y5GURCK7LSWaag8=; b=ROeGhRuxFoF0N9VYZmsA7I4jt9Nahmr1XcBjv6yBRh1oi6hfSi1MkLa5 VJLdgMG3R51zOwgICEeqogOyKhAuMyDVX1GAlgQHdw6bh9v+Ehhf+h5Y2 wnBzQyYnTkdTa4tVIYU0O+2FlS70MYt5ldoMlE0LBOjoJLgJj3q/UixlF zNowAZhL6Tm4UX7Q9owjpCPX8wNftRTqruJNGiULcR37gKDSasOQSd6NF rdwsH87zl56amPWkdvivpVMYrJqswmVzXRbiMrMzfxlNktm9qgHPgu/Vi RgVvrxqvnL8nO5DgyxbPwrQ5ZpjEo2xq4y1zuMRqEOPSdmSV1zJcGMNRF Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10330"; a="265959059" X-IronPort-AV: E=Sophos;i="5.90,295,1643702400"; d="scan'208";a="265959059" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2022 20:34:22 -0700 X-IronPort-AV: E=Sophos;i="5.90,295,1643702400"; d="scan'208";a="559388765" Received: from unknown (HELO DPDK-CVL-tetser102.icx.intel.com) ([10.239.251.92]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2022 20:34:20 -0700 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V1] tests/multiprocess: modify dut build dpdk app all Date: Thu, 28 Apr 2022 11:58:53 +0000 Message-Id: <20220428115853.4615-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 all. Signed-off-by: Lingli Chen Tested-by: Chenyu Huang --- 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"]