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 77866A32A1 for ; Thu, 24 Oct 2019 08:36:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 441461C21A; Thu, 24 Oct 2019 08:36:32 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id F16701C02E for ; Thu, 24 Oct 2019 08:36:29 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Oct 2019 23:36:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,223,1569308400"; d="scan'208";a="197012954" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga008.fm.intel.com with ESMTP; 23 Oct 2019 23:36:28 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 23 Oct 2019 23:36:28 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 23 Oct 2019 23:36:28 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.166]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.96]) with mapi id 14.03.0439.000; Thu, 24 Oct 2019 14:36:26 +0800 From: "Wang, Yinan" To: "Zhu, ShuaiX" , "dts@dpdk.org" Thread-Topic: [dts][PATCH V2] tests/vhost_virtio_user_interrupt:fix test caseblocked issue. Thread-Index: AQHViiw2TY+5a0EcqEGsgCd+aFFsEqdpVlXw Date: Thu, 24 Oct 2019 06:36:26 +0000 Message-ID: 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: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmZmNDVkMTItZDI1OC00Nzc1LWJiMWMtMDEzMWQ1NjU1NDM5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRjM4VEhBK0VXQ1wvekRXblBlUjFXSTNRMGZYSFwvOHVMTkdUS2RKRXZnck1SM0xRUWlOZHMydEhpNzMxYWpYRVBDIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" 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" Acked-by: Wang, Yinan > -----Original Message----- > From: Zhu, ShuaiX > Sent: 2019=1B$BG/=1B(B10=1B$B7n=1B(B24=1B$BF|=1B(B 13:36 > To: dts@dpdk.org > Cc: Wang, Yinan ; Zhu, ShuaiX > Subject: [dts][PATCH V2] tests/vhost_virtio_user_interrupt:fix test caseb= locked > 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