[dts] [PATCH V1] fix freebsd and icc app compile timeout
xu,huilong
huilongx.xu at intel.com
Tue Sep 27 10:28:05 CEST 2016
icc and freebsd compile app need more time
Signed-off-by: xu,huilong <huilongx.xu at intel.com>
---
framework/project_dpdk.py | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index 803585d..20f1404 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -314,9 +314,14 @@ class DPDKdut(Dut):
"""
Build dpdk sample applications on linux.
"""
+ # icc compile need more time
+ if 'icc' in self.target:
+ timeout = 300
+ else:
+ timeout = 90
self.send_expect("rm -rf %s" % r'./app/test/test_resource_c.res.o' , "#")
return self.send_expect("make -j -C %s %s" % (folder, extra_options),
- "# ", 90)
+ "# ", timeout)
def build_dpdk_apps_freebsd(self, folder, extra_options):
"""
@@ -324,7 +329,7 @@ class DPDKdut(Dut):
"""
self.send_expect("rm -rf %s" % r'./app/test/test_resource_c.res.o' , "#")
return self.send_expect("make -j -C %s %s CC=gcc48" % (folder, extra_options),
- "# ", 90)
+ "# ", 180)
def get_blacklist_string(self, target, nic):
"""
--
1.9.3
More information about the dts
mailing list