test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/virtio_cryptodev: Adapt latest make method to build dpdk
@ 2020-07-14  3:19 Jiang, YuX
  2020-07-14  3:23 ` Xiao, QimaiX
  2020-07-20  7:30 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Jiang, YuX @ 2020-07-14  3:19 UTC (permalink / raw)
  To: dts; +Cc: Jiang,yu, Jiang

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

The latest compilation method changes, so adapt latest make method to build dpdk.

Signed-off-by: Jiang,yu <yux.jiang@intel.com>
---
 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


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

* Re: [dts] [PATCH V1] tests/virtio_cryptodev: Adapt latest make method to build dpdk
  2020-07-14  3:19 [dts] [PATCH V1] tests/virtio_cryptodev: Adapt latest make method to build dpdk Jiang, YuX
@ 2020-07-14  3:23 ` Xiao, QimaiX
  2020-07-20  7:30 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Xiao, QimaiX @ 2020-07-14  3:23 UTC (permalink / raw)
  To: Jiang, YuX, dts; +Cc: Jiang, YuX, Jiang

[-- Attachment #1: Type: text/plain, Size: 3747 bytes --]

Tested-by: Xiao Qimai <qimaix.xiao@intel.com>

Regards,
Xiao Qimai

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Jiang, YuX
> Sent: Tuesday, July 14, 2020 11:19 AM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>; Jiang@dpdk.org
> Subject: [dts] [PATCH V1] tests/virtio_cryptodev: Adapt latest make method
> to build dpdk
> 
> From: "Jiang,yu" <yux.jiang@intel.com>
> 
> The latest compilation method changes, so adapt latest make method to
> build dpdk.
> 
> Signed-off-by: Jiang,yu <yux.jiang@intel.com>
> ---
>  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_A
> ESNI_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_A
> ESNI_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_A
> ESNI_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


[-- Attachment #2: VirtioCryptodevUnitTest.log --]
[-- Type: application/octet-stream, Size: 75505 bytes --]

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

* Re: [dts] [PATCH V1] tests/virtio_cryptodev: Adapt latest make method to build dpdk
  2020-07-14  3:19 [dts] [PATCH V1] tests/virtio_cryptodev: Adapt latest make method to build dpdk Jiang, YuX
  2020-07-14  3:23 ` Xiao, QimaiX
@ 2020-07-20  7:30 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-07-20  7:30 UTC (permalink / raw)
  To: Jiang, YuX, dts; +Cc: Jiang, YuX, Jiang

Applied, thanks

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Jiang, YuX
> Sent: 2020^[$BG/^[(B7^[$B7n^[(B14^[$BF|^[(B 11:19
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>; Jiang@dpdk.org
> Subject: [dts] [PATCH V1] tests/virtio_cryptodev: Adapt latest make method to
> build dpdk
> 
> From: "Jiang,yu" <yux.jiang@intel.com>
> 
> The latest compilation method changes, so adapt latest make method to build
> dpdk.
> 
> Signed-off-by: Jiang,yu <yux.jiang@intel.com>
> ---
>  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_AESN
> I_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_AESN
> I_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_AESN
> I_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


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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-14  3:19 [dts] [PATCH V1] tests/virtio_cryptodev: Adapt latest make method to build dpdk Jiang, YuX
2020-07-14  3:23 ` Xiao, QimaiX
2020-07-20  7:30 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox