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 34260A00E6 for ; Thu, 11 Jul 2019 06:10:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 117391B464; Thu, 11 Jul 2019 06:10:25 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 388117CBC for ; Thu, 11 Jul 2019 06:10:24 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2019 21:10:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,476,1557212400"; d="scan'208";a="193274007" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 10 Jul 2019 21:10:22 -0700 From: changqingxwu To: dts@dpdk.org Cc: changqingxwu Date: Thu, 11 Jul 2019 12:15:03 +0800 Message-Id: <1562818503-49097-1-git-send-email-changqingx.wu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/userspace_ethtool:Optimize test results 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: changqingxwu --- tests/TestSuite_userspace_ethtool.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py index c774552..dd8c9a6 100644 --- a/tests/TestSuite_userspace_ethtool.py +++ b/tests/TestSuite_userspace_ethtool.py @@ -316,9 +316,6 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator): portsinfo = [] ori_drivers = [] - if self.nic.startswith("fortville"): - return - for portid in range(len(self.ports)): self.dut.send_expect("regs %d regs_%d.bin" % (portid, portid), "EthApp>") portinfo = {'portid': portid, 'reg_file': 'regs_%d.bin' % portid} @@ -338,7 +335,7 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator): # get linux interface intf = netdev.get_interface_name() out = self.dut.send_expect("ethtool -d %s raw off file %s" % (intf, portinfo['reg_file']), "# ") - self.verify(("LINKS" in out and "FCTRL" in out), "Failed to dump %s registers" % intf) + self.verify(("register" in out and "CTRL" in out), "Failed to dump %s registers" % intf) for index in range(len(self.ports)): # bind to original driver -- 2.17.2