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 7678BA04B5; Thu, 10 Sep 2020 07:13:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 703F21BFA2; Thu, 10 Sep 2020 07:13:13 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 016CC2BA8 for ; Thu, 10 Sep 2020 07:13:11 +0200 (CEST) IronPort-SDR: +zU6ClbRX/3BItHNEQqAtC8ojujGqINb7EjE1mJI5y95Ym6EfyeN0vhq5jcioO9PCW6SFQViVd wqKaIMPUqKJw== X-IronPort-AV: E=McAfee;i="6000,8403,9739"; a="146177366" X-IronPort-AV: E=Sophos;i="5.76,411,1592895600"; d="scan'208";a="146177366" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2020 22:13:10 -0700 IronPort-SDR: ifLEKpB6c84zzRYiV8v2qQRhldVJ/bi4d4Beo+RMB/LnLXxHbu2AxX1bpKyjptFb6Ghh0x3n+O hkSC7x5chcjg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,411,1592895600"; d="scan'208";a="317776148" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 09 Sep 2020 22:13:09 -0700 From: "Jiang, YuX" To: dts@dpdk.org Cc: "Jiang,yu" , Jiang@dpdk.org Date: Thu, 10 Sep 2020 13:11:58 +0800 Message-Id: <20200910051158.22915-1-yux.jiang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/cryptodev_common: support meson build 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" From: "Jiang,yu" adapt meson build, add set_build_options Signed-off-by: Jiang,yu --- 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