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 29360A04AA; Tue, 8 Sep 2020 09:30:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 220FE1BF8A; Tue, 8 Sep 2020 09:30:04 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id DEB9C1BE85 for ; Tue, 8 Sep 2020 09:30:02 +0200 (CEST) IronPort-SDR: GlWb5vJG6rzIQ1t8SCrrQcTngVoiX1aaiohiR/xt4PhPTWPt9Ty4WqpyuKDtHVCfD1sNLEOvs8 SoI7IqmfqEwQ== X-IronPort-AV: E=McAfee;i="6000,8403,9737"; a="219646631" X-IronPort-AV: E=Sophos;i="5.76,404,1592895600"; d="scan'208";a="219646631" 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:30:02 -0700 IronPort-SDR: Fcfr2sgWdqkYgazkjOOL1Is5DGtlbfp/Y7Mqp6lMB69Ps/1bYoF7Ex8pLbT5x0zTt5jPBq+MTd 8tUyF/XUH3nw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,404,1592895600"; d="scan'208";a="377432815" Received: from unknown (HELO localhost.localdomain) ([10.240.183.52]) by orsmga001.jf.intel.com with ESMTP; 08 Sep 2020 00:30:01 -0700 From: "Zhou, Jun" To: dts@dpdk.org Cc: Zhou jun Date: Tue, 8 Sep 2020 07:18:16 +0000 Message-Id: <20200908071825.118583-30-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 29/38] tests/TestSuite_vhost_virtio_pmd_interrupt.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_vhost_virtio_pmd_interrupt.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py index 99ee657..f6b1d95 100644 --- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py +++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py @@ -70,6 +70,8 @@ class TestVhostVirtioPmdInterrupt(TestCase): # create an instance to set stream field setting self.pktgen_helper = PacketGeneratorHelper() self.base_dir = self.dut.base_dir.replace('~', '/root') + self.app_l3fwd_power_path = self.dut.apps_name['l3fwd-power'] + self.app_testpmd_path = self.dut.apps_name['test-pmd'] def set_up(self): """ @@ -116,7 +118,7 @@ class TestVhostVirtioPmdInterrupt(TestCase): """ # get the core list depend on current nb_cores number self.get_core_list() - testcmd = self.dut.target + "/app/testpmd " + testcmd = self.app_testpmd_path + " " vdev = ['net_vhost0,iface=%s/vhost-net,queues=%d' % (self.base_dir, self.queues)] eal_params = self.dut.create_eal_parameters(cores=self.core_list, ports=[self.pci_info], vdevs=vdev) para = " -- -i --nb-cores=%d --rxq=%d --txq=%d --rss-ip" % (self.nb_cores, self.queues, self.queues) @@ -144,7 +146,7 @@ class TestVhostVirtioPmdInterrupt(TestCase): info = {'core': core_list_l3fwd[queue], 'port': 0, 'queue': queue} self.verify_info.append(info) - command_client = "./examples/l3fwd-power/build/l3fwd-power " + \ + command_client = "./%s " % self.app_l3fwd_power_path + \ "-c %s -n 4 --log-level='user1,7' -- -p 1 -P " + \ "--config '%s' --no-numa --parse-ptype --interrupt-only" command_line_client = command_client % (core_mask_l3fwd, config_info) -- 1.8.3.1