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 E9F93A04C5; Fri, 4 Sep 2020 10:17:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DAB4D1C0BF; Fri, 4 Sep 2020 10:17:05 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 63178255 for ; Fri, 4 Sep 2020 10:17:04 +0200 (CEST) IronPort-SDR: dGi5/zcsQuA4WIplEA1jdHc59sPyXvVg8lXAJERYizMWJvpdqe0bq0brfXBmdk6K8fliz022wf 6UNmtX1qrCWg== X-IronPort-AV: E=McAfee;i="6000,8403,9733"; a="175763246" X-IronPort-AV: E=Sophos;i="5.76,389,1592895600"; d="scan'208";a="175763246" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Sep 2020 01:17:03 -0700 IronPort-SDR: sUFhEIDOg6ku/6EGsebCNil0Zd11g2DgzgxIssUJBMzYy8+ZCMoZXnfadBW0wVWrwDbysMt7M8 yFMsdR613epw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,389,1592895600"; d="scan'208";a="315782550" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.182.150]) by orsmga002.jf.intel.com with ESMTP; 04 Sep 2020 01:17:02 -0700 From: xizhan4x To: dts@dpdk.org Cc: xizhan4x Date: Fri, 4 Sep 2020 16:18:10 +0800 Message-Id: <1599207525-22123-3-git-send-email-xix.zhang@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1599207525-22123-1-git-send-email-xix.zhang@intel.com> References: <1599207525-22123-1-git-send-email-xix.zhang@intel.com> Subject: [dts] [dts 03/38] tests-TestSuite_dynamic_config.py:support meson 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" Signed-off-by: xizhan4x --- tests/TestSuite_dynamic_config.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/TestSuite_dynamic_config.py b/tests/TestSuite_dynamic_config.py index dd5e4b2..1b77ea1 100644 --- a/tests/TestSuite_dynamic_config.py +++ b/tests/TestSuite_dynamic_config.py @@ -75,10 +75,10 @@ class TestDynamicConfig(TestCase): cores = self.dut.get_core_list('1S/2C/2T') self.coreMask = utils.create_mask(cores) self.portMask = utils.create_mask(self.dut_ports[:2]) - + self.path=self.dut.apps_name['test-pmd'] # launch app - cmd = "./%s/app/testpmd -c %s -n 3 -- -i --rxpt=0 \ - --rxht=0 --rxwt=0 --txpt=39 --txht=0 --txwt=0 --portmask=%s" % (self.target, self.coreMask, self.portMask) + cmd = "%s -c %s -n 3 -- -i --rxpt=0 \ + --rxht=0 --rxwt=0 --txpt=39 --txht=0 --txwt=0 --portmask=%s" % (self.path, self.coreMask, self.portMask) self.dut.send_expect("%s" % cmd, "testpmd> ", 120) @@ -118,8 +118,8 @@ class TestDynamicConfig(TestCase): """ Run before each test case. """ - cmd = "./%s/app/testpmd -c %s -n 3 -- -i --rxpt=0 \ - --rxht=0 --rxwt=0 --txpt=39 --txht=0 --txwt=0 --portmask=%s" % (self.target, self.coreMask, self.portMask) + cmd = "%s -n 3 -- -i --rxpt=0 \ + --rxht=0 --rxwt=0 --txpt=39 --txht=0 --txwt=0 --portmask=%s" % (self.path, self.coreMask, self.portMask) self.dut.send_expect("%s" % cmd, "testpmd> ", 120) time.sleep(5) -- 1.8.3.1