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 83E18A0540; Tue, 14 Jul 2020 05:17:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 728B11D406; Tue, 14 Jul 2020 05:17:30 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id DF6CE1D404 for ; Tue, 14 Jul 2020 05:17:28 +0200 (CEST) IronPort-SDR: JvzFFdJifMhTkkIOYu0GGW9Qrs7Fg9oQa8cH2itgAK/ris8JJ+RAKq06MzSUT6RrOtwvj4x93i 0a1fw+lhYEOg== X-IronPort-AV: E=McAfee;i="6000,8403,9681"; a="146808579" X-IronPort-AV: E=Sophos;i="5.75,349,1589266800"; d="scan'208";a="146808579" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2020 20:17:27 -0700 IronPort-SDR: EEG9VqeXN1r3gYK98DmJ0KfGsrubEsx8VyueZBj4NMNgheZT2kO4u5s1uj6CjqmsXGXW3e7ccS esH6mdrv0TTQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,349,1589266800"; d="scan'208";a="317582335" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga002.fm.intel.com with ESMTP; 13 Jul 2020 20:17:25 -0700 From: "Jiang, YuX" To: dts@dpdk.org Cc: "Jiang,yu" , Jiang@dpdk.org Date: Tue, 14 Jul 2020 11:19:12 +0800 Message-Id: <20200714031912.12206-1-yux.jiang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/virtio_cryptodev: Adapt latest make method to build dpdk 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" The latest compilation method changes, so adapt latest make method to build dpdk. Signed-off-by: Jiang,yu --- tests/TestSuite_virtio_ipsec_cryptodev_func.py | 2 +- tests/TestSuite_virtio_perf_cryptodev_func.py | 2 +- tests/TestSuite_virtio_unit_cryptodev_func.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_virtio_ipsec_cryptodev_func.py b/tests/TestSuite_virtio_ipsec_cryptodev_func.py index d812e36..8231d0f 100644 --- a/tests/TestSuite_virtio_ipsec_cryptodev_func.py +++ b/tests/TestSuite_virtio_ipsec_cryptodev_func.py @@ -98,7 +98,7 @@ class VirtioCryptodevIpsecTest(TestCase): "sed -i 's/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n$/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y/' config/common_base", '#', 30) user_dut.send_expect( "sed -i 's/CONFIG_RTE_EAL_IGB_UIO=n/CONFIG_RTE_EAL_IGB_UIO=y/g' config/common_base", '#', 30) - out = user_dut.send_expect("make install T=%s" % self.target, "# ", 1200) + out = user_dut.send_expect("make -j %d install T=%s MAKE_PAUSE=n" % (user_dut.number_of_cores, self.target), "# ", 1200) #user_dut.build_install_dpdk(self.target) out = user_dut.build_dpdk_apps("./examples/ipsec-secgw") self.logger.info(out) diff --git a/tests/TestSuite_virtio_perf_cryptodev_func.py b/tests/TestSuite_virtio_perf_cryptodev_func.py index 830d62d..5323fc6 100644 --- a/tests/TestSuite_virtio_perf_cryptodev_func.py +++ b/tests/TestSuite_virtio_perf_cryptodev_func.py @@ -119,7 +119,7 @@ class VirtioCryptodevPerfTest(TestCase): "sed -i 's/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n$/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y/' config/common_base", '#', 30) user_dut.send_expect( "sed -i 's/CONFIG_RTE_EAL_IGB_UIO=n/CONFIG_RTE_EAL_IGB_UIO=y/g' config/common_base", '#', 30) - out = user_dut.send_expect("make install T=%s" % self.target, "# ", 900) + out = user_dut.send_expect("make -j %d install T=%s MAKE_PAUSE=n" % (user_dut.number_of_cores, self.target), "# ", 900) self.verify("Error" not in out, "compilation error 1") self.verify("No such file" not in out, "compilation error 2") diff --git a/tests/TestSuite_virtio_unit_cryptodev_func.py b/tests/TestSuite_virtio_unit_cryptodev_func.py index b828d6f..47e9c47 100644 --- a/tests/TestSuite_virtio_unit_cryptodev_func.py +++ b/tests/TestSuite_virtio_unit_cryptodev_func.py @@ -91,7 +91,7 @@ class VirtioCryptodevUnitTest(TestCase): "sed -i 's/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n$/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y/' config/common_base", '#', 30) user_dut.send_expect( "sed -i 's/CONFIG_RTE_EAL_IGB_UIO=n/CONFIG_RTE_EAL_IGB_UIO=y/g' config/common_base", '#', 30) - out = user_dut.send_expect("make install T=%s" % self.target, "# ", 900) + out = user_dut.send_expect("make -j %d install T=%s MAKE_PAUSE=n" % (user_dut.number_of_cores, self.target), "# ", 900) self.verify("Error" not in out, "compilation error 1") self.verify("No such file" not in out, "compilation error 2") -- 2.7.4