[dts] [PATCH] project_dpdk: Increase timeout for single thread build

pvukkisala at marvell.com pvukkisala at marvell.com
Wed Aug 21 14:59:38 CEST 2019


From: Phanendra Vukkisala <pvukkisala at marvell.com>

Single thread build take more time than multi thread, so increasing timeout

Signed-off-by: Phanendra Vukkisala <pvukkisala at marvell.com>
---
 framework/project_dpdk.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index a88f5dc..f75a4b9 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -229,7 +229,7 @@ class DPDKdut(Dut):
         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), "# ", 120)
+            out = self.send_expect("make install T=%s %s" % (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..."
-- 
1.7.9.5



More information about the dts mailing list