From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 918222BB9 for ; Thu, 28 Jul 2016 04:35:16 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 27 Jul 2016 19:35:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,432,1464678000"; d="scan'208";a="1025271273" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga002.jf.intel.com with ESMTP; 27 Jul 2016 19:35:04 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 27 Jul 2016 19:35:03 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 27 Jul 2016 19:35:03 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.107]) with mapi id 14.03.0248.002; Thu, 28 Jul 2016 10:35:01 +0800 From: "Liu, Yong" To: "Peng, Yuan" , "dts@dpdk.org" CC: "Peng, Yuan" Thread-Topic: [dts] [PATCH]tests:unit_tests_dump correct the pci address Thread-Index: AQHR6HHf1Qb0t3rXkkuEF2ShOO4/xKAtIFRw Date: Thu, 28 Jul 2016 02:35:01 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E22263920@SHSMSX103.ccr.corp.intel.com> References: <1469670371-25108-1-git-send-email-yuan.peng@intel.com> In-Reply-To: <1469670371-25108-1-git-send-email-yuan.peng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWViNDJhZjQtZTBhMi00NGM4LWE1OTgtNzZmZTliMmM5ZDAzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjkyQUd2a1dGaE1HRW1UQW4wUTdocHdsNUtxNlVGK0dzUHdMZmlcL0U4RkFjPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH]tests:unit_tests_dump correct the pci address 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: Thu, 28 Jul 2016 02:35:17 -0000 Thanks, applied. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of pengyuan > Sent: Thursday, July 28, 2016 9:46 AM > To: dts@dpdk.org > Cc: Peng, Yuan > Subject: [dts] [PATCH]tests:unit_tests_dump correct the pci address >=20 > Signed-off-by: pengyuan >=20 > diff --git a/tests/TestSuite_unit_tests_dump.py > b/tests/TestSuite_unit_tests_dump.py > index 381c2fe..afdc256 100644 > --- a/tests/TestSuite_unit_tests_dump.py > +++ b/tests/TestSuite_unit_tests_dump.py > @@ -185,19 +185,19 @@ class TestUnitTestsDump(TestCase): > Run devargs dump test case. > """ > test_port =3D self.dut_ports[0] > - self.dut.send_expect("./%s/app/test -n 1 -c ffff -b 0000:%s" > + self.dut.send_expect("./%s/app/test -n 1 -c ffff -b %s" > % (self.target, > self.dut.ports_info[test_port]['pci']), "R.*T.*E.*>.*>", > self.start_test_time) > out =3D self.dut.send_expect("dump_devargs", "RTE>>", > self.run_cmd_time * 2) > self.dut.send_expect("quit", "# ") > - black_str =3D "PCI blacklist 0000:%s" % > self.dut.ports_info[test_port]['pci'] > + black_str =3D "PCI blacklist %s" % > self.dut.ports_info[test_port]['pci'] > self.verify(black_str in out, "Dump black list failed") >=20 > - self.dut.send_expect("./%s/app/test -n 1 -c ffff -w 0000:%s" > + self.dut.send_expect("./%s/app/test -n 1 -c ffff -w %s" > % (self.target, > self.dut.ports_info[test_port]['pci']), "R.*T.*E.*>.*>", > self.start_test_time) > out =3D self.dut.send_expect("dump_devargs", "RTE>>", > self.run_cmd_time * 2) > self.dut.send_expect("quit", "# ") >=20 > - white_str =3D "PCI whitelist 0000:%s" % > self.dut.ports_info[test_port]['pci'] > + white_str =3D "PCI whitelist %s" % > self.dut.ports_info[test_port]['pci'] > self.verify(white_str in out, "Dump white list failed") >=20 > def tear_down(self): > -- > 2.5.5