test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Jiang, YuX" <yux.jiang@intel.com>
To: dts@dpdk.org
Cc: "Jiang,yu" <yux.jiang@intel.com>, Jiang@dpdk.org
Subject: [dts] [PATCH V1] tests/cryptodev_common: support meson build
Date: Thu, 10 Sep 2020 13:11:58 +0800	[thread overview]
Message-ID: <20200910051158.22915-1-yux.jiang@intel.com> (raw)

From: "Jiang,yu" <yux.jiang@intel.com>

adapt meson build, add set_build_options

Signed-off-by: Jiang,yu <yux.jiang@intel.com>
---
 tests/cryptodev_common.py | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/tests/cryptodev_common.py b/tests/cryptodev_common.py
index 23c7cd9..fdae7a3 100644
--- a/tests/cryptodev_common.py
+++ b/tests/cryptodev_common.py
@@ -76,20 +76,35 @@ def build_dpdk_with_cryptodev(test_case):
 
     test_case.dut.send_expect(
         "sed -i 's/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n$/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y/' config/common_base", "# ")
+    test_case.dut.set_build_options({'RTE_LIBRTE_PMD_AESNI_MB': 'y'})
+
     test_case.dut.send_expect(
         "sed -i 's/CONFIG_RTE_LIBRTE_PMD_QAT_SYM=n$/CONFIG_RTE_LIBRTE_PMD_QAT_SYM=y/' config/common_base", "# ")
+    test_case.dut.set_build_options({'RTE_LIBRTE_PMD_QAT_SYM': 'y'})
+
     test_case.dut.send_expect(
         "sed -i 's/CONFIG_RTE_LIBRTE_PMD_QAT_ASYM=n$/CONFIG_RTE_LIBRTE_PMD_QAT_ASYM=y/' config/common_base", "# ")
+    test_case.dut.set_build_options({'RTE_LIBRTE_PMD_QAT_ASYM': 'y'})
+
     test_case.dut.send_expect(
         "sed -i 's/CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n$/CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y/' config/common_base", "# ")
+    test_case.dut.set_build_options({'RTE_LIBRTE_PMD_AESNI_GCM': 'y'})
+
     test_case.dut.send_expect(
         "sed -i 's/CONFIG_RTE_LIBRTE_PMD_OPENSSL=n$/CONFIG_RTE_LIBRTE_PMD_OPENSSL=y/' config/common_base", "# ")
+    test_case.dut.set_build_options({'RTE_LIBRTE_PMD_OPENSSL': 'y'})
+
     test_case.dut.send_expect(
         "sed -i 's/CONFIG_RTE_LIBRTE_PMD_SNOW3G=n$/CONFIG_RTE_LIBRTE_PMD_SNOW3G=y/' config/common_base", "# ")
+    test_case.dut.set_build_options({'RTE_LIBRTE_PMD_SNOW3G': 'y'})
+
     test_case.dut.send_expect(
         "sed -i 's/CONFIG_RTE_LIBRTE_PMD_KASUMI=n$/CONFIG_RTE_LIBRTE_PMD_KASUMI=y/' config/common_base", "# ")
+    test_case.dut.set_build_options({'RTE_LIBRTE_PMD_KASUMI': 'y'})
+
     test_case.dut.send_expect(
         "sed -i 's/CONFIG_RTE_LIBRTE_PMD_ZUC=n$/CONFIG_RTE_LIBRTE_PMD_ZUC=y/' config/common_base", "# ")
+    test_case.dut.set_build_options({'RTE_LIBRTE_PMD_ZUC': 'y'})
 
     test_case.dut.skip_setup = False
     test_case.dut.build_install_dpdk(test_case.dut.target)
-- 
2.7.4


             reply	other threads:[~2020-09-10  5:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10  5:11 Jiang, YuX [this message]
2020-09-10  5:19 ` 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=20200910051158.22915-1-yux.jiang@intel.com \
    --to=yux.jiang@intel.com \
    --cc=Jiang@dpdk.org \
    --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).