From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 4D3FD568A for ; Mon, 9 Nov 2015 04:20:07 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 08 Nov 2015 19:20:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,264,1444719600"; d="scan'208";a="846341302" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga002.fm.intel.com with ESMTP; 08 Nov 2015 19:20:05 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id tA93K3sZ029533; Mon, 9 Nov 2015 11:20:03 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id tA93K021029346; Mon, 9 Nov 2015 11:20:02 +0800 Received: (from hengdinx@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id tA93K0x3029342; Mon, 9 Nov 2015 11:20:00 +0800 From: Ding Heng To: dts@dpdk.org Date: Mon, 9 Nov 2015 11:19:58 +0800 Message-Id: <1447039198-29307-1-git-send-email-hengx.ding@intel.com> X-Mailer: git-send-email 1.7.4.1 Cc: Ding Heng Subject: [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 03:20:07 -0000 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> ") -- 1.9.3