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 67E0AA04B9; Wed, 2 Sep 2020 11:14:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7257A1C0AC; Wed, 2 Sep 2020 11:14:18 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 3298C1C07B for ; Wed, 2 Sep 2020 11:14:17 +0200 (CEST) IronPort-SDR: Q+aZcoRO/Kxi4jBunrhgznBV5CSc0kQjaYw6C7DF2xGP5uNe1qfnyC9arZFuoejMt3vQFYGtZa IONJ0YV0c7JA== X-IronPort-AV: E=McAfee;i="6000,8403,9731"; a="158348268" X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="158348268" 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; 02 Sep 2020 02:14:16 -0700 IronPort-SDR: 93Lq819Mj8k3l0iUm9TtjQ0wCGtyETKA426HiTvx26j5tyAkc/GXf0D0PSRSvHR8cC1Rtf2Ktf syGrwFDQ5Mhw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="405099289" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 02 Sep 2020 02:14:15 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Wed, 2 Sep 2020 17:15:05 +0800 Message-Id: <20200902091510.6043-4-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200902091510.6043-1-weix.xie@intel.com> References: <20200902091510.6043-1-weix.xie@intel.com> Subject: [dts] [dts 3/8] tests/TestSuite_runtime_vf_queue_number:support meson build method 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" Signed-off-by: Xie wei --- tests/TestSuite_runtime_vf_queue_number.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_runtime_vf_queue_number.py b/tests/TestSuite_runtime_vf_queue_number.py index 93caf9e..8d8a6f7 100644 --- a/tests/TestSuite_runtime_vf_queue_number.py +++ b/tests/TestSuite_runtime_vf_queue_number.py @@ -297,13 +297,12 @@ class TestRuntimeVfQn(TestCase): gest_eal_param = '-w %s --file-prefix=test2' % self.vm_dut_0.ports_info[0]['pci'] self.vm0_testpmd = PmdOutput(self.vm_dut_0) - command_0 = "./%s/app/testpmd -c %s -n %d %s -- -i %s" \ - % (self.dut.target, '0xf', self.dut.get_memory_channels(), gest_eal_param, ' --rxq=0 --txq=0') + app_name = self.dut.apps_name['test-pmd'] + command_0 = app_name + "-c %s -n %d %s -- -i %s" % ('0xf', self.dut.get_memory_channels(), gest_eal_param, ' --rxq=0 --txq=0') outstring = self.vm0_testpmd.execute_cmd(command_0, expected='# ') self.verify("Either rx or tx queues should be non-zero" in outstring, "The output of testpmd start is different from expect when set invalid VF queue number 0.") time.sleep(2) - command_17 = "./%s/app/testpmd -c %s -n %d %s -- -i %s" \ - % (self.dut.target, '0xf', self.dut.get_memory_channels(), gest_eal_param, ' --rxq=17 --txq=17') + command_17 = app_name + "-c %s -n %d %s -- -i %s" % ('0xf', self.dut.get_memory_channels(), gest_eal_param, ' --rxq=17 --txq=17') outstring1 = self.vm0_testpmd.execute_cmd(command_17, expected='# ') self.verify("rxq 17 invalid - must be >= 0 && <= 16" in outstring1, "The output of testpmd start is different from expect when set invalid VF queue number 17.") -- 2.17.1