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 78BFF37AF for ; Fri, 6 Nov 2015 08:47:11 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 05 Nov 2015 23:47:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,251,1444719600"; d="scan'208";a="844463399" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by fmsmga002.fm.intel.com with ESMTP; 05 Nov 2015 23:47:09 -0800 From: yongjie To: dts@dpdk.org Date: Fri, 6 Nov 2015 15:42:40 +0800 Message-Id: <1446795760-4370-1-git-send-email-yongjiex.gu@intel.com> X-Mailer: git-send-email 1.9.3 Cc: GuYongjie Subject: [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: Fri, 06 Nov 2015 07:47:11 -0000 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) -- 1.7.7.6