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 3EF3AA04A3; Mon, 4 Nov 2019 03:46:31 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 20E3B397D; Mon, 4 Nov 2019 03:46:31 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 0029C37B4 for ; Mon, 4 Nov 2019 03:46:28 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Nov 2019 18:46:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,265,1569308400"; d="scan'208";a="212218898" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 03 Nov 2019 18:46:27 -0800 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 3 Nov 2019 18:46:27 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 3 Nov 2019 18:46:26 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.60]) with mapi id 14.03.0439.000; Mon, 4 Nov 2019 10:46:25 +0800 From: "Tu, Lijuan" To: "Zhu, ShuaiX" , "dts@dpdk.org" CC: "Wang, Yinan" , "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V2] tests/vhost_virtio_user_interrupt:fix test caseblocked issue. Thread-Index: AQHViixOU1ccHg0vvkmocAov5+8SYad6X7Rw Date: Mon, 4 Nov 2019 02:46:24 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB5D315@SHSMSX101.ccr.corp.intel.com> References: <1571895348-134625-1-git-send-email-shuaix.zhu@intel.com> In-Reply-To: <1571895348-134625-1-git-send-email-shuaix.zhu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTYxYzY3MWEtYWM5Zi00YTQwLTgyNzMtZjhlNmYzYWU0MTg5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMVhlVlhFUFJLTmxQelJibysxZWRLekdPZWw5MEhpbUdLVjdTMDk4Q1dEVm85dk01SHVJUEdWdTl0dm9YZ25iYSJ9 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 V2] tests/vhost_virtio_user_interrupt:fix test caseblocked issue. 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai > Sent: Thursday, October 24, 2019 1:36 PM > To: dts@dpdk.org > Cc: Wang, Yinan ; Zhu, ShuaiX > > Subject: [dts] [PATCH V2] tests/vhost_virtio_user_interrupt:fix test > caseblocked issue. >=20 > Modify the code due to dpdk changes.(commit > id:f430bbcecf3eed93916f45654f51dd19d6955aa2) >=20 > Signed-off-by: zhu,shuai > --- > tests/TestSuite_vhost_virtio_user_interrupt.py | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py > b/tests/TestSuite_vhost_virtio_user_interrupt.py > index 5422e04..91edcce 100644 > --- a/tests/TestSuite_vhost_virtio_user_interrupt.py > +++ b/tests/TestSuite_vhost_virtio_user_interrupt.py > @@ -84,6 +84,10 @@ class TestVirtioUserInterrupt(TestCase): > self.dut.send_expect("cp ./examples/l3fwd-power/main.c .", "#") > self.dut.send_expect( > "sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd- > power/main.c", "#", 10) > + self.dut.send_expect( > + "sed -i '/if (promiscuous_on/i\#if 0' ./examples/l3fwd- > power/main.c", "#", 10) > + self.dut.send_expect( > + "sed -i '/rte_spinlock_init(&(locks/i\#endif' ./examples= /l3fwd- > power/main.c", "#", 10) > out =3D self.dut.build_dpdk_apps("./examples/l3fwd-power") > self.verify("Error" not in out, "compilation l3fwd-power error") >=20 > -- > 2.17.2