From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2B8E63772 for ; Mon, 9 Nov 2015 08:13:00 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 08 Nov 2015 23:12:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,265,1444719600"; d="scan'208";a="845868064" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga002.jf.intel.com with ESMTP; 08 Nov 2015 23:12:59 -0800 Message-ID: <564047C3.7000701@intel.com> Date: Mon, 09 Nov 2015 15:14:11 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Ding Heng , dts@dpdk.org References: <1447039198-29307-1-git-send-email-hengx.ding@intel.com> In-Reply-To: <1447039198-29307-1-git-send-email-hengx.ding@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH] tests pmd: fix perf_pmd_performance_4ports case failed issue. 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: , X-List-Received-Date: Mon, 09 Nov 2015 07:13:00 -0000 Applied. Thanks. On 11/09/2015 11:19 AM, Ding Heng wrote: > Modify a variable name to avoid this issue. > > Signed-off-by: Ding Heng > > diff --git a/tests/TestSuite_pmd.py b/tests/TestSuite_pmd.py > index 525ed02..29dec2b 100644 > --- a/tests/TestSuite_pmd.py > +++ b/tests/TestSuite_pmd.py > @@ -154,12 +154,13 @@ class TestPmd(TestCase,IxiaPacketGenerator): > port_mask = dts.create_mask(self.dut.get_ports()) > > self.pmdout.start_testpmd("all", "--coremask=%s --rxq=%d --txq=%d --portmask=%s --rss-ip" % (core_mask, queues, queues, port_mask)) > + command_line = self.pmdout.get_pmd_cmd() > > info = "Executing PMD (mac fwd) using %s\n" % test_cycle['cores'] > dts.report(info, annex=True) > self.logger.info(info) > > - dts.report(commandLine + "\n\n", frame=True, annex=True) > + dts.report(command_line + "\n\n", frame=True, annex=True) > > # self.dut.send_expect("set fwd mac", "testpmd> ", 100) > self.dut.send_expect("start", "testpmd> ")