From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 3B6DC5398 for ; Mon, 13 Jun 2016 11:01:49 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP; 13 Jun 2016 02:01:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,466,1459839600"; d="scan'208";a="120821958" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga004.fm.intel.com with ESMTP; 13 Jun 2016 02:01:47 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id u5D91iN4027489; Mon, 13 Jun 2016 17:01:44 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u5D91gLV003232; Mon, 13 Jun 2016 17:01:44 +0800 Received: (from hengdinx@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id u5D91gGE003228; Mon, 13 Jun 2016 17:01:42 +0800 From: Ding Heng To: dts@dpdk.org Cc: Ding Heng Date: Mon, 13 Jun 2016 17:01:34 +0800 Message-Id: <1465808494-3196-1-git-send-email-hengx.ding@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dts] testcase: fix some bugs for performance case 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, 13 Jun 2016 09:01:49 -0000 checksum_offload: set verbose will affect testpmd performance, delete it. link_flow_control: self.pause_frame_loss_test() return value is tuple now, need to make some change to adapt this change. Signed-off-by: Ding Heng diff --git a/tests/TestSuite_checksum_offload.py b/tests/TestSuite_checksum_offload.py index 7dc8ddc..26bbe25 100644 --- a/tests/TestSuite_checksum_offload.py +++ b/tests/TestSuite_checksum_offload.py @@ -305,7 +305,6 @@ class TestChecksumOffload(TestCase): self.pmdout.start_testpmd( lcore, "--portmask=%s" % self.portMask, socket=self.ports_socket) - self.dut.send_expect("set verbose 1", "testpmd> ") self.dut.send_expect("set fwd csum", "testpmd> ") if mode == "hw": self.checksum_enablehw(self.dut_ports[0]) diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py index 11c1795..533e427 100644 --- a/tests/TestSuite_link_flowctrl.py +++ b/tests/TestSuite_link_flowctrl.py @@ -335,7 +335,7 @@ class TestLinkFlowctrl(TestCase): Disable link flow control and PAUSE frame forwarding """ - result = self.pause_frame_loss_test(rx_flow_control='on', + result,_,_ = self.pause_frame_loss_test(rx_flow_control='on', tx_flow_control='on', pause_frame_fwd='on') @@ -349,7 +349,7 @@ class TestLinkFlowctrl(TestCase): Disable link flow control and enable PAUSE frame forwarding """ - result = self.pause_frame_loss_test(rx_flow_control='on', + result,_,_ = self.pause_frame_loss_test(rx_flow_control='on', tx_flow_control='on', pause_frame_fwd='off') @@ -363,7 +363,7 @@ class TestLinkFlowctrl(TestCase): Enable only rx link flow control """ - result = self.pause_frame_loss_test(rx_flow_control='on', + result,_,_ = self.pause_frame_loss_test(rx_flow_control='on', tx_flow_control='on', pause_frame_fwd='off') @@ -377,7 +377,7 @@ class TestLinkFlowctrl(TestCase): Enable link flow control and disable PAUSE frame forwarding """ - result = self.pause_frame_loss_test(rx_flow_control='off', + result,_,_ = self.pause_frame_loss_test(rx_flow_control='off', tx_flow_control='off', pause_frame_fwd='on') @@ -391,7 +391,7 @@ class TestLinkFlowctrl(TestCase): Disable link flow control and PAUSE frame forwarding """ - result = self.pause_frame_loss_test(rx_flow_control='off', + result,_,_ = self.pause_frame_loss_test(rx_flow_control='off', tx_flow_control='off', pause_frame_fwd='off') @@ -405,7 +405,7 @@ class TestLinkFlowctrl(TestCase): Disable link flow control and PAUSE frame forwarding """ - result = self.pause_frame_loss_test(rx_flow_control='off', + result,_,_ = self.pause_frame_loss_test(rx_flow_control='off', tx_flow_control='on', pause_frame_fwd='off') -- 1.9.3