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 94F1AA0350; Tue, 12 May 2020 06:28:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 86FC41C0C6; Tue, 12 May 2020 06:28:42 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 707C61C0D7 for ; Tue, 12 May 2020 06:28:40 +0200 (CEST) IronPort-SDR: O91seG59dyrooEfXX6D7IRXkBhWHvYu0AgiTDjBAm3JIsIdw0h9jopWMwp8ZcBVhMzNN6ynJiC OOP2mfEdtbQA== 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:39 -0700 IronPort-SDR: ROdB8+nfqhH0j3AXMfOeP9KmByOttZB1B0sE3qV17Blb4+2LuaRz/u5RjB7j3BC+S10r2SMnSf 3eVWVb6u8irw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,382,1583222400"; d="scan'208";a="279991636" 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:38 -0700 From: Xiao Qimai To: dts@dpdk.org Cc: Xiao Qimai Date: Tue, 12 May 2020 12:20:27 +0800 Message-Id: <1589257228-213338-3-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 2/3]tests/TestSuite_vhost_event_idx_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_event_idx_interrupt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestSuite_vhost_event_idx_interrupt.py b/tests/TestSuite_vhost_event_idx_interrupt.py index d6b0b3d..8a252a1 100644 --- a/tests/TestSuite_vhost_event_idx_interrupt.py +++ b/tests/TestSuite_vhost_event_idx_interrupt.py @@ -79,6 +79,8 @@ class TestVhostEventIdxInterrupt(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) + 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, "#") out = self.dut.send_expect("make -C examples/l3fwd-power", "#") self.verify("Error" not in out, "compilation l3fwd-power error") -- 1.8.3.1