From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 52752A04AA; Tue, 8 Sep 2020 09:29:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4B0FD1C0CD; Tue, 8 Sep 2020 09:29:41 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 898522BAB for ; Tue, 8 Sep 2020 09:29:39 +0200 (CEST) IronPort-SDR: +Asmc1dCk9gKFihgIbviX24LiufW/a0MvIAxIE/xlxVs+cPe7nOUIKN5IGSV6u9hPKtu2pQN9Z rEkZHXr+NwnA== X-IronPort-AV: E=McAfee;i="6000,8403,9737"; a="219646575" X-IronPort-AV: E=Sophos;i="5.76,404,1592895600"; d="scan'208";a="219646575" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2020 00:29:38 -0700 IronPort-SDR: aTxq/LaGEFX/ZIqiH0eqEVTgoyBVgO5cbSFxdDaFzNGsyNEu6faZz1x9nHZSugkyDVgcZI6Z/F 5Iti0cuVxmvA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,404,1592895600"; d="scan'208";a="377432668" Received: from unknown (HELO localhost.localdomain) ([10.240.183.52]) by orsmga001.jf.intel.com with ESMTP; 08 Sep 2020 00:29:37 -0700 From: "Zhou, Jun" To: dts@dpdk.org Cc: Zhou jun Date: Tue, 8 Sep 2020 07:17:59 +0000 Message-Id: <20200908071825.118583-13-junx.w.zhou@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200908071825.118583-1-junx.w.zhou@intel.com> References: <20200908071825.118583-1-junx.w.zhou@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [dts 12/38] tests/TestSuite_ipv4_reassembly.py: adapt to support both meson and makefile build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" From: Zhou jun Signed-off-by: Zhou jun --- tests/TestSuite_ipv4_reassembly.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_ipv4_reassembly.py b/tests/TestSuite_ipv4_reassembly.py index 8d69ac6..e3df14e 100644 --- a/tests/TestSuite_ipv4_reassembly.py +++ b/tests/TestSuite_ipv4_reassembly.py @@ -120,7 +120,7 @@ class TestIpReassembly(TestCase): Execute the example app and checks for errors. """ - command = ('./examples/ip_reassembly/build/ip_reassembly -c {core_mask} ' + + command = ('./%s -c {core_mask} ' % self.app_ip_reassembly_path + '-n {memory_channels} -- -p {dut_port_mask} ' + '--maxflows={maxflows} --flowttl={flowttl} {extra_args}') self.dut.send_expect( @@ -373,6 +373,7 @@ class TestIpReassembly(TestCase): self.tester.send_expect('export PS1="# "', '#') self.compile_example_app() + self.app_ip_reassembly_path = self.dut.apps_name['ip_reassembly'] dut_ports = self.dut.get_ports(self.nic) dut_port = dut_ports[0] self.destination_mac = self.dut.get_mac_address(dut_port) -- 1.8.3.1