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 140CB5A65 for ; Tue, 27 Oct 2015 09:39:28 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 27 Oct 2015 01:39:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,204,1444719600"; d="scan'208";a="835928584" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga002.jf.intel.com with ESMTP; 27 Oct 2015 01:39:28 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 27 Oct 2015 01:39:27 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.253]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.96]) with mapi id 14.03.0248.002; Tue, 27 Oct 2015 16:39:26 +0800 From: "Tu, LijuanX A" To: "Xu, HuilongX" , "dts@dpdk.org" Thread-Topic: [dts] [10/12] add test start time and exec cmd time for pmd_perf unit test Thread-Index: AQHREIrqFiUBRadbKECop4F6Dhd1rp5/BKRg Date: Tue, 27 Oct 2015 08:39:25 +0000 Message-ID: <38D041F150D4184C8114E499040E62340723599A@shsmsx102.ccr.corp.intel.com> References: <1445931412-86352-1-git-send-email-huilongx.xu@intel.com> <1445931412-86352-11-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1445931412-86352-11-git-send-email-huilongx.xu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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] [10/12] add test start time and exec cmd time for pmd_perf unit test 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: Tue, 27 Oct 2015 08:39:29 -0000 Acked by tu,lijuan > Signed-off-by: xu,huilong > --- > tests/TestSuite_unit_tests_pmd_perf.py | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) >=20 > diff --git a/tests/TestSuite_unit_tests_pmd_perf.py b/tests/TestSuite_uni= t_tests_pmd_perf.py > index 8745227..3be47f9 100644 > --- a/tests/TestSuite_unit_tests_pmd_perf.py > +++ b/tests/TestSuite_unit_tests_pmd_perf.py > @@ -90,10 +90,10 @@ class TestUnitTestsPmdPerf(TestCase): > Run pmd stream control mode burst test case. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 30) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 60) > for mode in self.burst_ctlmodes: > - self.dut.send_expect("set_rxtx_sc %s" % mode, "RTE>>", 5) > - out =3D self.dut.send_expect("pmd_perf_autotest", "RTE>>", 6= 0) > + self.dut.send_expect("set_rxtx_sc %s" % mode, "RTE>>", 10) > + out =3D self.dut.send_expect("pmd_perf_autotest", "RTE>>", 1= 20) > match_regex =3D "Result: (\d+) cycles per packet" > m =3D re.compile(r"%s" % match_regex, re.S) > result =3D m.search(out) > @@ -113,16 +113,16 @@ class TestUnitTestsPmdPerf(TestCase): > =20 > for mode in self.rxtx_modes: > if mode is "scalar": > - self.dut.send_expect("./app/test/test_scalar -n 1 -c fff= f", "R.*T.*E.*>.*>", 30) > + self.dut.send_expect("./app/test/test_scalar -n 1 -c fff= f", "R.*T.*E.*>.*>", 60) > else: > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.= *T.*E.*>.*>", 30) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.= *T.*E.*>.*>", 60) > =20 > table_row =3D [mode] > - self.dut.send_expect("set_rxtx_sc continuous", "RTE>>", 5) > - self.dut.send_expect("set_rxtx_mode %s" % mode, "RTE>>", 5) > + self.dut.send_expect("set_rxtx_sc continuous", "RTE>>", 10) > + self.dut.send_expect("set_rxtx_mode %s" % mode, "RTE>>",10) > for anchor in self.anchors: > - self.dut.send_expect("set_rxtx_anchor %s" % anchor, "RTE= >>", 5) > - out =3D self.dut.send_expect("pmd_perf_autotest", "RTE>>= ", 60) > + self.dut.send_expect("set_rxtx_anchor %s" % anchor, "RTE= >>", 10) > + out =3D self.dut.send_expect("pmd_perf_autotest", "RTE>>= ", 120) > match_regex =3D "Result: (\d+) cycles per packet" > m =3D re.compile(r"%s" % match_regex, re.S) > result =3D m.search(out) > --=20 > 1.9.3 >=20 >