From patchwork Tue Nov 16 14:51:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 104372 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5CA9FA0C43; Tue, 16 Nov 2021 07:50:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 579414113C; Tue, 16 Nov 2021 07:50:29 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id AB58940040 for ; Tue, 16 Nov 2021 07:50:27 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="220843052" X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="220843052" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:27 -0800 X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="585948546" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 22:50:25 -0800 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V1 7/7] tests/vhost_user_interrupt: Delete modify l3fwd-power example code Date: Tue, 16 Nov 2021 14:51:30 +0000 Message-Id: <20211116145130.113807-8-linglix.chen@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211116145130.113807-1-linglix.chen@intel.com> References: <20211116145130.113807-1-linglix.chen@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 Delete modify l3fwd-power example code. Signed-off-by: Lingli Chen Tested-by: Lingli Chen Acked-by: Yinan Wang --- tests/TestSuite_vhost_user_interrupt.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/TestSuite_vhost_user_interrupt.py b/tests/TestSuite_vhost_user_interrupt.py index f71a2467..c0d1b4f2 100644 --- a/tests/TestSuite_vhost_user_interrupt.py +++ b/tests/TestSuite_vhost_user_interrupt.py @@ -78,9 +78,6 @@ class TestVhostUserInterrupt(TestCase): self.virtio_user = self.dut.new_session(suite="virtio-user") def prepare_l3fwd_power(self): - 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", "#") out = self.dut.build_dpdk_apps('examples/l3fwd-power') self.verify("Error" not in out, "compilation l3fwd-power error") @@ -304,6 +301,4 @@ class TestVhostUserInterrupt(TestCase): """ Run after each test suite. """ - # revert the code - self.dut.send_expect("mv ./main.c ./examples/l3fwd-power/", "#") - self.dut.build_dpdk_apps('examples/l3fwd-power') + pass