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 C05CFA0350; Tue, 12 May 2020 06:28:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B6CFF1C135; Tue, 12 May 2020 06:28:43 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 986DD1C066 for ; Tue, 12 May 2020 06:28:41 +0200 (CEST) IronPort-SDR: qXw24ftxM87mJkTCMsNgDbbMNJKHmTePfFRuBzWGW6gO9j9THKw9zUxRv47T4/KVFrC9yBOfja Nq4MGdUHr3qA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2020 21:28:40 -0700 IronPort-SDR: kfbOMSf5LrQ0YsOo5rB+m+DITlj29rPqqXgRAouu9HMi0Ifoe29tgMVRSpozgF6pZIICaPLpgr hilnKhezSlFQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,382,1583222400"; d="scan'208";a="279991641" Received: from unknown (HELO xqm-virtio_tester.sh.intel.com) ([10.240.183.52]) by orsmga002.jf.intel.com with ESMTP; 11 May 2020 21:28:39 -0700 From: Xiao Qimai To: dts@dpdk.org Cc: Xiao Qimai Date: Tue, 12 May 2020 12:20:28 +0800 Message-Id: <1589257228-213338-4-git-send-email-qimaix.xiao@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1589257228-213338-1-git-send-email-qimaix.xiao@intel.com> References: <1589257228-213338-1-git-send-email-qimaix.xiao@intel.com> Subject: [dts] [PATCH V1 3/3]tests/TestSuite_vhost_virtio_user_interrupt: update script for dpdk's modification 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" Signed-off-by: Xiao Qimai --- tests/TestSuite_vhost_virtio_user_interrupt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py b/tests/TestSuite_vhost_virtio_user_interrupt.py index 59b9b2f..fc0dbd8 100644 --- a/tests/TestSuite_vhost_virtio_user_interrupt.py +++ b/tests/TestSuite_vhost_virtio_user_interrupt.py @@ -82,6 +82,8 @@ class TestVirtioUserInterrupt(TestCase): def prepare_l3fwd_power(self): self.dut.send_expect("cp ./examples/l3fwd-power/main.c .", "#") + cmd = "sed -i 's/rte_exit(EXIT_FAILURE, \"init_power_library failed/RTE_LOG(ERR, L3FWD_POWER, \"init_power_library failed/g' ./examples/l3fwd-power/main.c" + self.dut.send_expect(cmd, "#") self.dut.send_expect( "sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10) self.dut.send_expect( -- 1.8.3.1