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 C4FA8A32A1 for ; Thu, 24 Oct 2019 07:08:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6B49D1C069; Thu, 24 Oct 2019 07:08:47 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 5D6281C045 for ; Thu, 24 Oct 2019 07:08:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Oct 2019 22:08:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,223,1569308400"; d="scan'208";a="204149257" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 23 Oct 2019 22:08:44 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 23 Oct 2019 22:08:44 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 23 Oct 2019 22:08:44 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.225]) with mapi id 14.03.0439.000; Thu, 24 Oct 2019 13:08:42 +0800 From: "Ma, LihongX" To: "Zhu, ShuaiX" , "dts@dpdk.org" CC: "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V1] tests/vhost_virtio_user_interrupt:fix test case blocked issue Thread-Index: AQHVih8EhdZWUv0hGk+F//+63Vf6wadpPaig Date: Thu, 24 Oct 2019 05:08:42 +0000 Message-ID: References: <1571889680-133888-1-git-send-email-shuaix.zhu@intel.com> In-Reply-To: <1571889680-133888-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-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/vhost_virtio_user_interrupt:fix test case blocked 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" Hi, shuai Can you put the dpdk commit it in this patch ? -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai Sent: Thursday, October 24, 2019 12:01 PM To: dts@dpdk.org Cc: Zhu, ShuaiX Subject: [dts] [PATCH V1] tests/vhost_virtio_user_interrupt:fix test case b= locked issue Modify the code due to dpdk changes. Signed-off-by: zhu,shuai --- tests/TestSuite_vhost_virtio_user_interrupt.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py b/tests/TestSui= te_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-powe= r/main.c", "#", 10) + self.dut.send_expect( + "sed -i '/if (promiscuous_on/i\#if 0' ./examples/l3fwd-pow= er/main.c", "#", 10) + self.dut.send_expect( + "sed -i '/rte_spinlock_init(&(locks/i\#endif' ./examples/l= 3fwd-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 --=20 2.17.2