test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/cryptodev_common: support meson build
@ 2020-09-10  5:11 Jiang, YuX
  2020-09-10  5:19 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Jiang, YuX @ 2020-09-10  5:11 UTC (permalink / raw)
  To: dts; +Cc: Jiang,yu, Jiang

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-10  5:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10  5:11 [dts] [PATCH V1] tests/cryptodev_common: support meson build Jiang, YuX
2020-09-10  5:19 ` Tu, Lijuan

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).