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 CE9DDA04AA; Tue, 8 Sep 2020 09:29:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C7E401C023; Tue, 8 Sep 2020 09:29:34 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 2F69B2BAB for ; Tue, 8 Sep 2020 09:29:33 +0200 (CEST) IronPort-SDR: aV4CKbCVfOa6jFsAtvLixBSZfI/5UvVk8zEwvb01gdBrpTv8zzhs23kD+s1RGoMvCeh47opzdm jhv4ZBTf+pZg== X-IronPort-AV: E=McAfee;i="6000,8403,9737"; a="219646559" X-IronPort-AV: E=Sophos;i="5.76,404,1592895600"; d="scan'208";a="219646559" 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:32 -0700 IronPort-SDR: 1w7P3mcq7t3ItsyFogHef3Ri3UTIlAqta5F7tbkS/2e2+oJPvGHpW8jv0zR03OxXm8k8q39HUn yTXBT4YMrkqQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,404,1592895600"; d="scan'208";a="377432648" Received: from unknown (HELO localhost.localdomain) ([10.240.183.52]) by orsmga001.jf.intel.com with ESMTP; 08 Sep 2020 00:29:31 -0700 From: "Zhou, Jun" To: dts@dpdk.org Cc: Zhou jun Date: Tue, 8 Sep 2020 07:17:56 +0000 Message-Id: <20200908071825.118583-10-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 09/38] tests/TestSuite_inline_ipsec.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_inline_ipsec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_inline_ipsec.py b/tests/TestSuite_inline_ipsec.py index e5c282c..2e6ec7c 100644 --- a/tests/TestSuite_inline_ipsec.py +++ b/tests/TestSuite_inline_ipsec.py @@ -84,7 +84,7 @@ class TestInlineIpsec(TestCase): self.txnetobj = self.tester.ports_info[self.txport]['port'] self.txnetobj.enable_jumbo(framesize=ETHER_JUMBO_FRAME_MTU + 100) - self.path = "./examples/ipsec-secgw/build/ipsec-secgw" + self.path = self.dut.apps_name['ipsec-secgw'] # add print code in IPSEC app sedcmd = r"""sed -i -e 's/if (nb_rx > 0)/if (nb_rx > 0) {/g' -e '/\/\* dequeue and process completed crypto-ops \*\//i\\t\t\t}' -e '/process_pkts(qconf, pkts, nb_rx, portid);/i\\t\t\t\tprintf("[debug]receive %llu packet in rxqueueid=%llu\\n",(unsigned long long)nb_rx, (unsigned long long)queueid);' examples/ipsec-secgw/ipsec-secgw.c""" self.dut.send_expect(sedcmd, "#", 60) -- 1.8.3.1