test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] fix freebsd and icc app compile timeout
@ 2016-09-27  8:28 xu,huilong
  2016-09-28  2:46 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: xu,huilong @ 2016-09-27  8:28 UTC (permalink / raw)
  To: dts; +Cc: xu,huilong

icc and freebsd compile app need more time

Signed-off-by: xu,huilong <huilongx.xu@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

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

* Re: [dts] [PATCH V1] fix freebsd and icc app compile timeout
  2016-09-27  8:28 [dts] [PATCH V1] fix freebsd and icc app compile timeout xu,huilong
@ 2016-09-28  2:46 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2016-09-28  2:46 UTC (permalink / raw)
  To: dts, huilongx xu

Thanks, applied.

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

end of thread, other threads:[~2016-09-28  2:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-27  8:28 [dts] [PATCH V1] fix freebsd and icc app compile timeout xu,huilong
2016-09-28  2:46 ` Liu, Yong

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).