From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 5B54F568A for ; Mon, 9 Nov 2015 03:43:44 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 08 Nov 2015 18:43:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,264,1444719600"; d="scan'208";a="831206685" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by fmsmga001.fm.intel.com with ESMTP; 08 Nov 2015 18:43:43 -0800 Message-ID: <564008A8.8030508@intel.com> Date: Mon, 09 Nov 2015 10:44:56 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: yongjie , dts@dpdk.org References: <1446795760-4370-1-git-send-email-yongjiex.gu@intel.com> In-Reply-To: <1446795760-4370-1-git-send-email-yongjiex.gu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH] add cmd time for memory and memcpy_perf 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 02:43:44 -0000 Applied with few comments changed. Thanks. On 11/06/2015 03:42 PM, yongjie wrote: > From: GuYongjie > > Delay memcpy_perf_autotest & memory_autotest time. > > Signed-off-by: GuYongjie > --- > tests/TestSuite_unit_tests_eal.py | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py > index 0945cd6..b575c7b 100644 > --- a/tests/TestSuite_unit_tests_eal.py > +++ b/tests/TestSuite_unit_tests_eal.py > @@ -103,7 +103,7 @@ class TestUnitTestsEal(TestCase): > """ > self.dut.send_expect("%s ./app/test/test -n 1 -c ffff" % self.dut.taskset(1), > "R.*T.*E.*>.*>", self.start_test_time) > - out = self.dut.send_expect("memcpy_perf_autotest", "RTE>>", self.run_cmd_time * 4) > + out = self.dut.send_expect("memcpy_perf_autotest", "RTE>>", self.run_cmd_time * 15) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > > @@ -179,7 +179,7 @@ class TestUnitTestsEal(TestCase): > """ > > self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>.*>", self.start_test_time) > - out = self.dut.send_expect('memory_autotest', "RTE>>", self.run_cmd_time) > + out = self.dut.send_expect('memory_autotest', "RTE>>", self.run_cmd_time * 5) > regexp = "phys:0x[0-9a-f]*, len:([0-9a-f]*), virt:0x[0-9a-f]*, socket_id:[0-9]*" > match = dts.regexp(out, regexp) > size = int(match, 16)