test suite reviews and discussions
 help / color / mirror / Atom feed
From: "xu,huilong" <huilongx.xu@intel.com>
To: dts@dpdk.org
Cc: "xu,huilong" <huilongx.xu@intel.com>
Subject: [dts] [PATCH V1] fix freebsd and icc app compile timeout
Date: Tue, 27 Sep 2016 16:28:05 +0800	[thread overview]
Message-ID: <1474964885-29674-1-git-send-email-huilongx.xu@intel.com> (raw)

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

             reply	other threads:[~2016-09-27  8:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-27  8:28 xu,huilong [this message]
2016-09-28  2:46 ` Liu, Yong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1474964885-29674-1-git-send-email-huilongx.xu@intel.com \
    --to=huilongx.xu@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).