* [dts] [PATCH V1]framework/project_dpdk: ignore make warning info
@ 2020-07-01 9:44 Xiao Qimai
2020-07-01 9:53 ` Xiao, QimaiX
0 siblings, 1 reply; 2+ messages in thread
From: Xiao Qimai @ 2020-07-01 9:44 UTC (permalink / raw)
To: dts; +Cc: Xiao Qimai
Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
framework/project_dpdk.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index b8cb2bd..c0dfd59 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -231,12 +231,12 @@ class DPDKdut(Dut):
self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#")
# compile
- out = self.send_expect("make -j %d install T=%s %s" %
+ out = self.send_expect("make -j %d install T=%s %s MAKE_PAUSE=n" %
(self.number_of_cores, target, extra_options), "# ", build_time)
if("Error" in out or "No rule to make" in out):
self.logger.error("ERROR - try without '-j'")
# if Error try to execute make without -j option
- out = self.send_expect("make install T=%s %s" % (target, extra_options), "# ", build_time*4)
+ out = self.send_expect("make install T=%s %s MAKE_PAUSE=n" % (target, extra_options), "# ", build_time*4)
assert ("Error" not in out), "Compilation error..."
assert ("No rule to make" not in out), "No rule to make error..."
@@ -252,13 +252,13 @@ class DPDKdut(Dut):
self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#")
build_time = 180
# compile
- out = self.send_expect("make -j %d install T=%s" % (self.number_of_cores,
+ out = self.send_expect("make -j %d install T=%s MAKE_PAUSE=n" % (self.number_of_cores,
target),
"#", build_time)
if("Error" in out or "No rule to make" in out):
self.logger.error("ERROR - try without '-j'")
# if Error try to execute make without -j option
- out = self.send_expect("make install T=%s" % target,
+ out = self.send_expect("make install T=%s MAKE_PAUSE=n" % target,
"#", build_time)
assert ("Error" not in out), "Compilation error..."
--
1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1]framework/project_dpdk: ignore make warning info
2020-07-01 9:44 [dts] [PATCH V1]framework/project_dpdk: ignore make warning info Xiao Qimai
@ 2020-07-01 9:53 ` Xiao, QimaiX
0 siblings, 0 replies; 2+ messages in thread
From: Xiao, QimaiX @ 2020-07-01 9:53 UTC (permalink / raw)
To: dts
Tested-by: Xiao, QimaiX <qimaix.xiao@intel.com>
Regards,
Xiao Qimai
> -----Original Message-----
> From: Xiao, QimaiX <qimaix.xiao@intel.com>
> Sent: Wednesday, July 1, 2020 5:45 PM
> To: dts@dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: [dts][PATCH V1]framework/project_dpdk: ignore make warning
> info
>
> Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
> ---
> framework/project_dpdk.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
> index b8cb2bd..c0dfd59 100644
> --- a/framework/project_dpdk.py
> +++ b/framework/project_dpdk.py
> @@ -231,12 +231,12 @@ class DPDKdut(Dut):
> self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#")
>
> # compile
> - out = self.send_expect("make -j %d install T=%s %s" %
> + out = self.send_expect("make -j %d install T=%s %s
> + MAKE_PAUSE=n" %
> (self.number_of_cores, target, extra_options), "# ", build_time)
> if("Error" in out or "No rule to make" in out):
> self.logger.error("ERROR - try without '-j'")
> # if Error try to execute make without -j option
> - out = self.send_expect("make install T=%s %s" % (target,
> extra_options), "# ", build_time*4)
> + out = self.send_expect("make install T=%s %s MAKE_PAUSE=n"
> + % (target, extra_options), "# ", build_time*4)
>
> assert ("Error" not in out), "Compilation error..."
> assert ("No rule to make" not in out), "No rule to make error..."
> @@ -252,13 +252,13 @@ class DPDKdut(Dut):
> self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#")
> build_time = 180
> # compile
> - out = self.send_expect("make -j %d install T=%s" %
> (self.number_of_cores,
> + out = self.send_expect("make -j %d install T=%s MAKE_PAUSE=n" %
> + (self.number_of_cores,
> target),
> "#", build_time)
> if("Error" in out or "No rule to make" in out):
> self.logger.error("ERROR - try without '-j'")
> # if Error try to execute make without -j option
> - out = self.send_expect("make install T=%s" % target,
> + out = self.send_expect("make install T=%s MAKE_PAUSE=n" %
> + target,
> "#", build_time)
>
> assert ("Error" not in out), "Compilation error..."
> --
> 1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-01 9:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-01 9:44 [dts] [PATCH V1]framework/project_dpdk: ignore make warning info Xiao Qimai
2020-07-01 9:53 ` Xiao, QimaiX
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).