test suite reviews and discussions
 help / color / mirror / Atom feed
From: lingwei <weix.ling@intel.com>
To: dts@dpdk.org
Cc: lingwei <weix.ling@intel.com>
Subject: [dts] [PATCH V4 2/5] tests/TestSuite_af_xdp_2:use API to set dpdk config when use meson
Date: Mon, 14 Sep 2020 14:58:19 +0000	[thread overview]
Message-ID: <20200914145822.18971-3-weix.ling@intel.com> (raw)
In-Reply-To: <20200914145822.18971-1-weix.ling@intel.com>

use API to set dpdk config when use meson

Signed-off-by: lingwei <weix.ling@intel.com>
---
 tests/TestSuite_af_xdp_2.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_af_xdp_2.py b/tests/TestSuite_af_xdp_2.py
index f1d495f..4586c9d 100644
--- a/tests/TestSuite_af_xdp_2.py
+++ b/tests/TestSuite_af_xdp_2.py
@@ -77,6 +77,7 @@ class TestAfXdp(TestCase):
     def prepare_dpdk(self):
         self.dut.send_expect(
             "sed -i 's/CONFIG_RTE_LIBRTE_PMD_AF_XDP=n$/CONFIG_RTE_LIBRTE_PMD_AF_XDP=y/' config/common_base", "# ")
+        self.dut.set_build_options({'RTE_LIBRTE_PMD_AF_XDP': 'y'})
         self.dut.build_install_dpdk(self.dut.target)
 
     def set_port_queue(self, intf):
@@ -431,7 +432,7 @@ class TestAfXdp(TestCase):
 
     def tear_down_all(self):
         self.dut.kill_all()
-
         self.dut.send_expect(
             "sed -i 's/CONFIG_RTE_LIBRTE_PMD_AF_XDP=y$/CONFIG_RTE_LIBRTE_PMD_AF_XDP=n/' config/common_base", "# ")
+        self.dut.set_build_options({'RTE_LIBRTE_PMD_AF_XDP': 'n'})
         self.dut.build_install_dpdk(self.dut.target)
-- 
2.17.1


  parent reply	other threads:[~2020-09-14  7:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-14 14:58 [dts] [PATCH V4 0/5] use " lingwei
2020-09-14  7:12 ` Ling, WeiX
2020-09-14 14:58 ` [dts] [PATCH V4 1/5] tests/l3fwd_base:use " lingwei
2020-09-14 14:58 ` lingwei [this message]
2020-09-14 14:58 ` [dts] [PATCH V4 3/5] tests/TestSuite_nic_single_core_perf:use " lingwei
2020-09-14 14:58 ` [dts] [PATCH V4 4/5] tests/TestSuite_vmdq_dcb:use " lingwei
2020-09-14 14:58 ` [dts] [PATCH V4 5/5] tests/TestSuite_vmdq:use " lingwei
2020-09-15  8:46 ` [dts] [PATCH V4 0/5] use " Tu, Lijuan

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=20200914145822.18971-3-weix.ling@intel.com \
    --to=weix.ling@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).