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 C2A70A0540; Mon, 20 Jul 2020 09:30:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BA5F92C2B; Mon, 20 Jul 2020 09:30:21 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 88167255 for ; Mon, 20 Jul 2020 09:30:19 +0200 (CEST) IronPort-SDR: Ow3gZAtzvrxs5zHQYTNPt06uinYyOaikHdkEgFa5tylTBpkOTFev00iBQ634Xc3dMp4qaIYi31 EDsfoyFg+qrw== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="149851816" X-IronPort-AV: E=Sophos;i="5.75,374,1589266800"; d="scan'208";a="149851816" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 00:30:17 -0700 IronPort-SDR: COziWnPowkbi6tAABR1DpfFycWw3uaFUVis7gLOlzHw6mFL658vO6g2jCH6P4eY5ccFkUI6M3d Lf/u3lPoOXbQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,374,1589266800"; d="scan'208";a="391961370" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga001.fm.intel.com with ESMTP; 20 Jul 2020 00:30:07 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 00:30:07 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 00:30:07 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.22]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.32]) with mapi id 14.03.0439.000; Mon, 20 Jul 2020 15:30:04 +0800 From: "Tu, Lijuan" To: "Jiang, YuX" , "dts@dpdk.org" CC: "Jiang, YuX" , "Jiang@dpdk.org" Thread-Topic: [dts] [PATCH V1] tests/virtio_cryptodev: Adapt latest make method to build dpdk Thread-Index: AQHWWY1aZ0J9eJjrX0KS1JrMBVM+v6kQHA4A Date: Mon, 20 Jul 2020 07:30:03 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC82361@SHSMSX101.ccr.corp.intel.com> References: <20200714031912.12206-1-yux.jiang@intel.com> In-Reply-To: <20200714031912.12206-1-yux.jiang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Applied, thanks > -----Original Message----- > From: dts On Behalf Of Jiang, YuX > Sent: 2020=1B$BG/=1B(B7=1B$B7n=1B(B14=1B$BF|=1B(B 11:19 > To: dts@dpdk.org > Cc: Jiang, YuX ; Jiang@dpdk.org > Subject: [dts] [PATCH V1] tests/virtio_cryptodev: Adapt latest make metho= d to > build dpdk >=20 > From: "Jiang,yu" >=20 > The latest compilation method changes, so adapt latest make method to bui= ld > dpdk. >=20 > 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(-) >=20 > 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=3Dn$/CONFIG_RTE_LIBRTE_PMD_AESN > I_MB=3Dy/' config/common_base", '#', 30) > user_dut.send_expect( > "sed -i > 's/CONFIG_RTE_EAL_IGB_UIO=3Dn/CONFIG_RTE_EAL_IGB_UIO=3Dy/g' > config/common_base", '#', 30) > - out =3D user_dut.send_expect("make install T=3D%s" % self.target= , "# ", 1200) > + out =3D user_dut.send_expect("make -j %d install T=3D%s > + MAKE_PAUSE=3Dn" % (user_dut.number_of_cores, self.target), "# ", 1200) > #user_dut.build_install_dpdk(self.target) > out =3D 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=3Dn$/CONFIG_RTE_LIBRTE_PMD_AESN > I_MB=3Dy/' config/common_base", '#', 30) > user_dut.send_expect( > "sed -i > 's/CONFIG_RTE_EAL_IGB_UIO=3Dn/CONFIG_RTE_EAL_IGB_UIO=3Dy/g' > config/common_base", '#', 30) > - out =3D user_dut.send_expect("make install T=3D%s" % self.target= , "# ", 900) > + out =3D user_dut.send_expect("make -j %d install T=3D%s > + MAKE_PAUSE=3Dn" % (user_dut.number_of_cores, self.target), "# ", 900) >=20 > self.verify("Error" not in out, "compilation error 1") > self.verify("No such file" not in out, "compilation error 2") di= ff --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=3Dn$/CONFIG_RTE_LIBRTE_PMD_AESN > I_MB=3Dy/' config/common_base", '#', 30) > user_dut.send_expect( > "sed -i > 's/CONFIG_RTE_EAL_IGB_UIO=3Dn/CONFIG_RTE_EAL_IGB_UIO=3Dy/g' > config/common_base", '#', 30) > - out =3D user_dut.send_expect("make install T=3D%s" % self.target= , "# ", 900) > + out =3D user_dut.send_expect("make -j %d install T=3D%s > + MAKE_PAUSE=3Dn" % (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") >=20 > -- > 2.7.4