test suite reviews and discussions
 help / color / mirror / Atom feed
From: Xiao Qimai <qimaix.xiao@intel.com>
To: dts@dpdk.org
Cc: Xiao Qimai <qimaix.xiao@intel.com>
Subject: [dts] [PATCH V1 1/3]tests/TestSuite_vhost_enqueue_interrupt: update script for dpdk's modification
Date: Tue, 12 May 2020 12:20:26 +0800	[thread overview]
Message-ID: <1589257228-213338-2-git-send-email-qimaix.xiao@intel.com> (raw)
In-Reply-To: <1589257228-213338-1-git-send-email-qimaix.xiao@intel.com>

Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
 tests/TestSuite_vhost_enqueue_interrupt.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_vhost_enqueue_interrupt.py b/tests/TestSuite_vhost_enqueue_interrupt.py
index 7c6368a..f75c839 100644
--- a/tests/TestSuite_vhost_enqueue_interrupt.py
+++ b/tests/TestSuite_vhost_enqueue_interrupt.py
@@ -68,6 +68,8 @@ class TestVhostEnqueueInterrupt(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", "#")
+        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.build_dpdk_apps('examples/l3fwd-power')
         self.verify("Error" not in out, "compilation l3fwd-power error")
 
-- 
1.8.3.1


  reply	other threads:[~2020-05-12  4:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-12  4:20 [dts] [PATCH V1 0/3] update scripts for dpdk l3fwd-power modification Xiao Qimai
2020-05-12  4:20 ` Xiao Qimai [this message]
2020-05-12  4:20 ` [dts] [PATCH V1 2/3]tests/TestSuite_vhost_event_idx_interrupt: update script for dpdk's modification Xiao Qimai
2020-05-12  4:20 ` [dts] [PATCH V1 3/3]tests/TestSuite_vhost_virtio_user_interrupt: " Xiao Qimai
2020-05-12  4:30 ` [dts] [PATCH V1 0/3] update scripts for dpdk l3fwd-power modification Xiao, QimaiX

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1589257228-213338-2-git-send-email-qimaix.xiao@intel.com \
    --to=qimaix.xiao@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).