From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E8F3FA04A2; Wed, 6 Nov 2019 02:15:54 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B7CB31BFC3; Wed, 6 Nov 2019 02:15:54 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 890711BFC0 for ; Wed, 6 Nov 2019 02:15:52 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2019 17:15:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,272,1569308400"; d="scan'208";a="227328176" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga004.fm.intel.com with ESMTP; 05 Nov 2019 17:15:51 -0800 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 Nov 2019 17:15:50 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.225]) with mapi id 14.03.0439.000; Wed, 6 Nov 2019 09:15:49 +0800 From: "Ma, LihongX" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" Thread-Topic: [dts] [PATCH V1] tests/external_memory:modify expected feedback Thread-Index: AQHVk6nvqO6ZGuuGOkiDLcPm1zse2ad9V50Q Date: Wed, 6 Nov 2019 01:15:48 +0000 Message-ID: References: <20191105192303.4106-1-xiaoxiaox.zeng@intel.com> In-Reply-To: <20191105192303.4106-1-xiaoxiaox.zeng@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] [PATCH V1] tests/external_memory:modify expected feedback 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Hi, xiaoxiao If you want wait the link status to up then start 'verifier_result', I thin= k it better to use the unified interface ' wait_link_status_up' in framewor= k/pmdout.py -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiaoxiao Zeng Sent: Wednesday, November 6, 2019 3:23 AM To: dts@dpdk.org Cc: Zeng, XiaoxiaoX Subject: [dts] [PATCH V1] tests/external_memory:modify expected feedback *.change expected testpmd> to link state change event. Signed-off-by: Xiaoxiao Zeng --- tests/TestSuite_external_memory.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_external_memory.py b/tests/TestSuite_external_= memory.py index 9a75427..bb6d51e 100644 --- a/tests/TestSuite_external_memory.py +++ b/tests/TestSuite_external_memory.py @@ -92,7 +92,7 @@ class TestExternalMemory(TestCase): self.insmod_modprobe(modename=3D"igb_uio") cmd =3D "./%s/app/testpmd -c %s -n 4 -- --mp-alloc=3Dxmem -i"%(sel= f.target,self.coremask) =20 - self.dut.send_expect(cmd,"testpmd>",60) + self.dut.send_expect(cmd,"link state change event",60) self.verifier_result() =20 def test_IGB_UIO_xmemhuage(self): @@ -103,7 +103,7 @@ class TestExternalMemory(TestCase): =20 cmd =3D "./%s/app/testpmd -c %s -n 4 -- --mp-alloc=3Dxmemhuge -i"%= (self.target,self.coremask) =20 - self.dut.send_expect(cmd,"testpmd>",60) + self.dut.send_expect(cmd,"link state change event",60) self.verifier_result() =20 def test_VFIO_PCI_xmem(self): @@ -113,7 +113,7 @@ class TestExternalMemory(TestCase): self.insmod_modprobe(modename=3D"vfio-pci") =20 cmd =3D "./%s/app/testpmd -c %s -n 4 -- --mp-alloc=3Dxmem -i"%(sel= f.target,self.coremask) - self.dut.send_expect(cmd,"testpmd>",60) + self.dut.send_expect(cmd,"link state change event",60) =20 self.verifier_result() =20 @@ -123,7 +123,7 @@ class TestExternalMemory(TestCase): """ self.insmod_modprobe(modename=3D"vfio-pci") cmd =3D "./%s/app/testpmd -c %s -n 4 -- --mp-alloc=3Dxmemhuge -i"%= (self.target,self.coremask) - self.dut.send_expect(cmd,"testpmd>",60) + self.dut.send_expect(cmd,"link state change event",60) =20 self.verifier_result() =20 --=20 2.17.0