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 EB5B25A76 for ; Tue, 27 Oct 2015 09:31:27 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 27 Oct 2015 01:31:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,204,1444719600"; d="scan'208";a="588756916" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 27 Oct 2015 01:31:27 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 27 Oct 2015 01:31:26 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.253]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.47]) with mapi id 14.03.0248.002; Tue, 27 Oct 2015 16:31:24 +0800 From: "Tu, LijuanX A" To: "Xu, HuilongX" , "dts@dpdk.org" Thread-Topic: [dts] [02/12] add test start time and exec cmd time for eal unit test Thread-Index: AQHREIrqK14Br6tWi06WoCqpLoM9Hp5/AkPw Date: Tue, 27 Oct 2015 08:31:24 +0000 Message-ID: <38D041F150D4184C8114E499040E62340723593C@shsmsx102.ccr.corp.intel.com> References: <1445931412-86352-1-git-send-email-huilongx.xu@intel.com> <1445931412-86352-3-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1445931412-86352-3-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] [02/12] add test start time and exec cmd time for eal 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:31:28 -0000 Acked by tu,lijuan > Signed-off-by: xu,huilong > --- > tests/TestSuite_unit_tests_eal.py | 138 +++++++++++++++++++-------------= ------ > 1 file changed, 70 insertions(+), 68 deletions(-) >=20 > diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tes= ts_eal.py > index b8bd5a3..0945cd6 100644 > --- a/tests/TestSuite_unit_tests_eal.py > +++ b/tests/TestSuite_unit_tests_eal.py > @@ -33,6 +33,8 @@ class TestUnitTestsEal(TestCase): > out =3D self.dut.build_dpdk_apps('./app/test/') > self.verify('make: Leaving directory' in out, "Compilation faile= d") > [arch, machine, self.env, toolchain] =3D self.target.split('-') > + self.start_test_time =3D 60 > + self.run_cmd_time =3D 60 > =20 > def set_up(self): > """ > @@ -46,8 +48,8 @@ class TestUnitTestsEal(TestCase): > """ > =20 > self.dut.send_expect("%s ./app/test/test -n 1 -c ffff" % self.du= t.taskset(1), > - "R.*T.*E.*>.*>", 10) > - out =3D self.dut.send_expect("version_autotest", "RTE>>", 30) > + "R.*T.*E.*>.*>", self.start_test_time) > + out =3D self.dut.send_expect("version_autotest", "RTE>>", self.r= un_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -57,8 +59,8 @@ class TestUnitTestsEal(TestCase): > """ > =20 > self.dut.send_expect("%s ./app/test/test -n 1 -c ffff" % self.du= t.taskset(1), > - "R.*T.*E.*>.*>", 10) > - out =3D self.dut.send_expect("memcpy_autotest", "RTE>>", 30) > + "R.*T.*E.*>.*>", self.start_test_time) > + out =3D self.dut.send_expect("memcpy_autotest", "RTE>>", self.ru= n_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -68,8 +70,8 @@ class TestUnitTestsEal(TestCase): > """ > =20 > self.dut.send_expect("%s ./app/test/test -n 1 -c ffff" % self.du= t.taskset(1), > - "R.*T.*E.*>.*>", 10) > - out =3D self.dut.send_expect("common_autotest", "RTE>>", 30) > + "R.*T.*E.*>.*>", self.start_test_time) > + out =3D self.dut.send_expect("common_autotest", "RTE>>", self.ru= n_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -79,8 +81,8 @@ class TestUnitTestsEal(TestCase): > """ > =20 > self.dut.send_expect("%s ./app/test/test -n 1 -c ffff" % self.du= t.taskset(1), > - "R.*T.*E.*>.*>", 10) > - out =3D self.dut.send_expect("eal_fs_autotest", "RTE>>", 30) > + "R.*T.*E.*>.*>", self.start_test_time) > + out =3D self.dut.send_expect("eal_fs_autotest", "RTE>>", self.ru= n_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -90,8 +92,8 @@ class TestUnitTestsEal(TestCase): > """ > =20 > self.dut.send_expect("%s ./app/test/test -n 1 -c ffff" % self.du= t.taskset(1), > - "R.*T.*E.*>.*>", 10) > - out =3D self.dut.send_expect("memcpy_autotest", "RTE>>", 30) > + "R.*T.*E.*>.*>", self.start_test_time) > + out =3D self.dut.send_expect("memcpy_autotest", "RTE>>", self.ru= n_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -100,8 +102,8 @@ class TestUnitTestsEal(TestCase): > Run memcopy performance autotest. > """ > self.dut.send_expect("%s ./app/test/test -n 1 -c ffff" % self.du= t.taskset(1), > - "R.*T.*E.*>.*>", 10) > - out =3D self.dut.send_expect("memcpy_perf_autotest", "RTE>>", 24= 0) > + "R.*T.*E.*>.*>", self.start_test_time) > + out =3D self.dut.send_expect("memcpy_perf_autotest", "RTE>>", se= lf.run_cmd_time * 4) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -110,8 +112,8 @@ class TestUnitTestsEal(TestCase): > Run hash autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("hash_autotest", "RTE>>", 40) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("hash_autotest", "RTE>>", self.run_= cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -121,8 +123,8 @@ class TestUnitTestsEal(TestCase): > """ > =20 > self.dut.send_expect("%s ./app/test/test -n 1 -c fffe" % self.du= t.taskset(1), > - "R.*T.*E.*>.*>", 10) > - out =3D self.dut.send_expect("hash_perf_autotest", "RTE>>", 600) > + "R.*T.*E.*>.*>", self.start_test_time) > + out =3D self.dut.send_expect("hash_perf_autotest", "RTE>>", self= .run_cmd_time * 10) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -131,8 +133,8 @@ class TestUnitTestsEal(TestCase): > Run malloc autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("malloc_autotest", "RTE>>", 30) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("malloc_autotest", "RTE>>", self.ru= n_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -146,8 +148,8 @@ class TestUnitTestsEal(TestCase): > else: > # mask cores only on socket 0 > cmdline =3D "%s ./app/test/test -n 1 -c 5555" % self.dut.tas= kset(1) > - self.dut.send_expect(cmdline, "R.*T.*E.*>.*>", 10) > - out =3D self.dut.send_expect("func_reentrancy_autotest", "RTE>>"= , 30) > + self.dut.send_expect(cmdline, "R.*T.*E.*>.*>", self.start_test_t= ime) > + out =3D self.dut.send_expect("func_reentrancy_autotest", "RTE>>"= , self.run_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -156,8 +158,8 @@ class TestUnitTestsEal(TestCase): > Run pci autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("pci_autotest", "RTE>>", 30) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("pci_autotest", "RTE>>", self.run_c= md_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -166,8 +168,8 @@ class TestUnitTestsEal(TestCase): > Run atomic autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("atomic_autotest", "RTE>>", 30) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("atomic_autotest", "RTE>>", self.ru= n_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -176,8 +178,8 @@ class TestUnitTestsEal(TestCase): > Run memory autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect('memory_autotest', "RTE>>", 20) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect('memory_autotest', "RTE>>", self.ru= n_cmd_time) > regexp =3D "phys:0x[0-9a-f]*, len:([0-9a-f]*), virt:0x[0-9a-f]*,= socket_id:[0-9]*" > match =3D dts.regexp(out, regexp) > size =3D int(match, 16) > @@ -189,8 +191,8 @@ class TestUnitTestsEal(TestCase): > Run lcore autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("per_lcore_autotest", "RTE>>", 20) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("per_lcore_autotest", "RTE>>", self= .run_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -199,8 +201,8 @@ class TestUnitTestsEal(TestCase): > Run spinlock autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("spinlock_autotest", "RTE>>", 120) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("spinlock_autotest", "RTE>>", self.= run_cmd_time * 2) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -209,8 +211,8 @@ class TestUnitTestsEal(TestCase): > Run rwlock autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("rwlock_autotest", "RTE>>", 20) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("rwlock_autotest", "RTE>>", self.ru= n_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -219,8 +221,8 @@ class TestUnitTestsEal(TestCase): > Run prefetch autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("prefetch_autotest", "RTE>>", 20) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("prefetch_autotest", "RTE>>", self.= run_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -229,8 +231,8 @@ class TestUnitTestsEal(TestCase): > Run byte order autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("byteorder_autotest", "RTE>>", 10) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("byteorder_autotest", "RTE>>", self= .run_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -239,8 +241,8 @@ class TestUnitTestsEal(TestCase): > Run cycles autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("cycles_autotest", "RTE>>", 20) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("cycles_autotest", "RTE>>", self.ru= n_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -249,8 +251,8 @@ class TestUnitTestsEal(TestCase): > Run logs autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("logs_autotest", "RTE>>", 10) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("logs_autotest", "RTE>>", self.run_= cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -259,8 +261,8 @@ class TestUnitTestsEal(TestCase): > Run memzone autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("memzone_autotest", "RTE>>", 10) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("memzone_autotest", "RTE>>", self.r= un_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -269,8 +271,8 @@ class TestUnitTestsEal(TestCase): > Run debug autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("debug_autotest", "RTE>>", 10) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("debug_autotest", "RTE>>", self.run= _cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -279,8 +281,8 @@ class TestUnitTestsEal(TestCase): > Run eal flags autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff -m 64", "R.*T= .*E.*>.*>", 10) > - out =3D self.dut.send_expect("eal_flags_autotest", "RTE>>", 40) > + self.dut.send_expect("./app/test/test -n 1 -c ffff -m 64", "R.*T= .*E.*>.*>", self.start_test_time) > + out =3D self.dut.send_expect("eal_flags_autotest", "RTE>>", self= .run_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -290,8 +292,8 @@ class TestUnitTestsEal(TestCase): > """ > =20 > self.verify(self.env =3D=3D "linuxapp", "Alarm only supported in= linux env") > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("alarm_autotest", "RTE>>", 60) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("alarm_autotest", "RTE>>", self.run= _cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -300,8 +302,8 @@ class TestUnitTestsEal(TestCase): > Run CPU flags autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("cpuflags_autotest", "RTE>>", 60) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("cpuflags_autotest", "RTE>>", self.= run_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -310,8 +312,8 @@ class TestUnitTestsEal(TestCase): > Run errno autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*TE>>|RT= .*E>>|RTE.*>>|RTE>.*>", 20) > - out =3D self.dut.send_expect("errno_autotest", "RTE>>", 60) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*TE>>|RT= .*E>>|RTE.*>>|RTE>.*>", self.start_test_time) > + out =3D self.dut.send_expect("errno_autotest", "RTE>>", self.run= _cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -321,8 +323,8 @@ class TestUnitTestsEal(TestCase): > """ > =20 > self.verify(self.env =3D=3D "linuxapp", "Interrupt only supporte= d in linux env") > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*TE>>|RT= .*E>>|RTE.*>>|RTE>.*>", 20) > - out =3D self.dut.send_expect("interrupt_autotest", "RTE>>", 60) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*TE>>|RT= .*E>>|RTE.*>>|RTE>.*>", self.start_test_time) > + out =3D self.dut.send_expect("interrupt_autotest", "RTE>>", self= .run_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -331,8 +333,8 @@ class TestUnitTestsEal(TestCase): > Run multiprocess autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff -m 64", "R.*T= .*E.*>.*>", 10) > - out =3D self.dut.send_expect("multiprocess_autotest", "RTE>>", 6= 0) > + self.dut.send_expect("./app/test/test -n 1 -c ffff -m 64", "R.*T= .*E.*>.*>", self.start_test_time) > + out =3D self.dut.send_expect("multiprocess_autotest", "RTE>>", s= elf.run_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -341,8 +343,8 @@ class TestUnitTestsEal(TestCase): > Run string autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("string_autotest", "RTE>>", 60) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("string_autotest", "RTE>>", self.ru= n_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -351,8 +353,8 @@ class TestUnitTestsEal(TestCase): > Run tailq autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("tailq_autotest", "RTE>>", 60) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("tailq_autotest", "RTE>>", self.run= _cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -361,8 +363,8 @@ class TestUnitTestsEal(TestCase): > Run devargs autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("devargs_autotest", "RTE>>", 60) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("devargs_autotest", "RTE>>", self.r= un_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -371,8 +373,8 @@ class TestUnitTestsEal(TestCase): > Run kvargs autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("kvargs_autotest", "RTE>>", 60) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("kvargs_autotest", "RTE>>", self.ru= n_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -381,8 +383,8 @@ class TestUnitTestsEal(TestCase): > Run acl autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("acl_autotest", "RTE>>", 60) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("acl_autotest", "RTE>>", self.run_c= md_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > @@ -391,8 +393,8 @@ class TestUnitTestsEal(TestCase): > Run acl autotest. > """ > =20 > - self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", 10) > - out =3D self.dut.send_expect("link_bonding_autotest", "RTE>>", 6= 0) > + self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>= .*>", self.start_test_time) > + out =3D self.dut.send_expect("link_bonding_autotest", "RTE>>", s= elf.run_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") > =20 > --=20 > 1.9.3 >=20 >