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 8C7A6A04B5; Fri, 11 Sep 2020 04:20:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 862AB1C0CA; Fri, 11 Sep 2020 04:20:02 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 9ABB61B75C for ; Fri, 11 Sep 2020 04:20:00 +0200 (CEST) IronPort-SDR: H22+6PN8IbChX4lLaZCWvH+BNCoa4zBXRGhGEQCzzEtaBFB6Fg429+Lb5uPIXwGMP03CNE+Ll1 9fHmDI3jvk7w== X-IronPort-AV: E=McAfee;i="6000,8403,9740"; a="243499356" X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="243499356" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2020 19:20:00 -0700 IronPort-SDR: uYNH5U8k1rG5CTIV1bUhFCol13sntLxXMVEb6w9VvQTkfvhIJfVWONP7wuQZT99jRx4aVCq/3R /dJGcBH1KLFg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="318126688" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 10 Sep 2020 19:19:59 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Fri, 11 Sep 2020 10:19:28 +0800 Message-Id: <20200911021928.8224-6-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200911021928.8224-1-weix.xie@intel.com> References: <20200911021928.8224-1-weix.xie@intel.com> Subject: [dts] [PATCH V1 5/5] tests/TestSuite_cvl_switch_filter: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_cvl_switch_filter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_cvl_switch_filter.py b/tests/TestSuite_cvl_switch_filter.py index 4e81a3e..296ab22 100644 --- a/tests/TestSuite_cvl_switch_filter.py +++ b/tests/TestSuite_cvl_switch_filter.py @@ -4527,6 +4527,7 @@ class CVLSwitchFilterTest(TestCase): self.bind_nics_driver(self.dut_ports, driver="vfio-pci") self.generate_file_with_fdir_rules() + self.path = self.dut.apps_name['test-pmd'] def set_up(self): """ @@ -4570,7 +4571,7 @@ class CVLSwitchFilterTest(TestCase): """ #Prepare testpmd EAL and parameters all_eal_param = self.dut.create_eal_parameters(cores='1S/4C/1T', ports=[0]) - command = "./%s/app/testpmd %s --log-level=\"ice,8\" -- -i %s" % (self.dut.target, all_eal_param, "--rxq=16 --txq=16 --cmdline-file=%s" % self.fdir_file) + command = self.path + all_eal_param + " --log-level=\"ice,8\" -- -i --rxq=16 --txq=16 --cmdline-file=%s" % self.fdir_file # command = "./%s/app/testpmd %s --log-level=\"ice,8\" -- -i %s" % (self.dut.target, all_eal_param, "--rxq=16 --txq=16") return command @@ -4580,7 +4581,7 @@ class CVLSwitchFilterTest(TestCase): """ #Prepare testpmd EAL and parameters all_eal_param = self.dut.create_eal_parameters(cores='1S/4C/1T', ports=[0], port_options={0:"pipeline-mode-support=1"}) - command = "./%s/app/testpmd %s --log-level=\"ice,8\" -- -i %s" % (self.dut.target, all_eal_param, "--rxq=16 --txq=16") + command = self.path + all_eal_param + " --log-level=\"ice,8\" -- -i --rxq=16 --txq=16" return command def launch_testpmd(self, is_non_pipeline): -- 2.17.1