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 18A73A04C9; Wed, 16 Sep 2020 14:45:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 132C51C2F6; Wed, 16 Sep 2020 14:45:08 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 573921C299 for ; Wed, 16 Sep 2020 14:45:06 +0200 (CEST) IronPort-SDR: ZctP52j5G0KtYI64RbiFLr07R6GmHMuLRCpmdPw5bdoKxzR7L6Vi2BkAFhwhcXb4vsmz0pVSC2 GUAG3kK3JcDg== X-IronPort-AV: E=McAfee;i="6000,8403,9745"; a="160383172" X-IronPort-AV: E=Sophos;i="5.76,432,1592895600"; d="scan'208";a="160383172" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2020 05:45:05 -0700 IronPort-SDR: JIqEIfRfMlCwwEdEhyEldenEYhvYDJhPiHoqpDgk/QjZ1AqrHslMmSlKicjfvEOom/9d6CFYTi kWPaTf11/WNw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,432,1592895600"; d="scan'208";a="409542384" Received: from unknown (HELO localhost.localdomain) ([10.240.183.52]) by fmsmga001.fm.intel.com with ESMTP; 16 Sep 2020 05:45:04 -0700 From: "Zhou, Jun" To: dts@dpdk.org Cc: "Zhou, Jun" , Zhou@dpdk.org Date: Wed, 16 Sep 2020 12:29:50 +0000 Message-Id: <20200916122951.17646-10-junx.w.zhou@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200916122951.17646-1-junx.w.zhou@intel.com> References: <20200916122951.17646-1-junx.w.zhou@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 09/10] tests/tests/TestSuite_rxtx_callbacks.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" adapt to support both meson and makefile build Signed-off-by: Zhou, Jun --- tests/TestSuite_rxtx_callbacks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_rxtx_callbacks.py b/tests/TestSuite_rxtx_callbacks.py index a2da0d94..33a1bb00 100644 --- a/tests/TestSuite_rxtx_callbacks.py +++ b/tests/TestSuite_rxtx_callbacks.py @@ -54,7 +54,7 @@ class TestRxtxCallbacks(TestCase): self.coremask = utils.create_mask(cores) self.mac = self.dut.get_mac_address(self.dut_ports[0]) - self.path = "./examples/rxtx_callbacks/build/rxtx_callbacks" + self.app_rxtx_callbacks_path = self.dut.apps_name['rxtx_callbacks'] out = self.dut.build_dpdk_apps("./examples/rxtx_callbacks") self.verify("Error" not in out, "compilation error 1") @@ -67,7 +67,7 @@ class TestRxtxCallbacks(TestCase): pass def test_rxtx_callbacks(self): - cmd = self.path + " -c %s -n %d " % (self.coremask,self.dut.get_memory_channels()) + cmd = self.app_rxtx_callbacks_path + " -c %s -n %d " % (self.coremask,self.dut.get_memory_channels()) self.dut.send_expect(cmd,"forwarding packets",60) self.iface_port0 = self.tester.get_interface(self.tester.get_local_port(self.dut_ports[0])) -- 2.25.1