qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: berendt@b1-systems.de
Cc: qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [buildbot patch 2/6] make tests configurable
Date: Fri,  1 Feb 2013 15:02:21 +0100	[thread overview]
Message-ID: <1359727345-10477-3-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1359727345-10477-1-git-send-email-kraxel@redhat.com>

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 qemu-master.cfg |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/qemu-master.cfg b/qemu-master.cfg
index 2f793c1..4c45f23 100644
--- a/qemu-master.cfg
+++ b/qemu-master.cfg
@@ -683,7 +683,7 @@ from buildbot.steps.shell import Configure, Compile, ShellCommand, Test
 
 def create_build_factory(repourl, branch="HEAD",
                          make="make", configure_args=[],
-                         outoftree=False):
+                         outoftree=False, runtests=True):
     """Return a BuildFactory pre-configured with common build steps"""
     f = factory.BuildFactory()
     f.addStep(Git(repourl=repourl,
@@ -700,10 +700,11 @@ def create_build_factory(repourl, branch="HEAD",
                       env={'LANG': 'C'},
                       timeout=2400,
                       workdir=workdir))
-    f.addStep(Test(command=[make, "check"],
-                   env={'LANG': 'C'},
-                   maxTime=2400,
-                   workdir=workdir))
+    if runtests:
+        f.addStep(Test(command=[make, "check"],
+                       env={'LANG': 'C'},
+                       maxTime=2400,
+                       workdir=workdir))
     return f
 
 f_default = create_build_factory("git://git.qemu-project.org/qemu.git")
-- 
1.7.9.7

  parent reply	other threads:[~2013-02-01 15:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-01 14:02 [Qemu-devel] [buildbot patch 0/6] buildbot update Gerd Hoffmann
2013-02-01 14:02 ` [Qemu-devel] [buildbot patch 1/6] add linebreaks to make create_build_factory more readable Gerd Hoffmann
2013-02-01 14:02 ` Gerd Hoffmann [this message]
2013-02-01 14:02 ` [Qemu-devel] [buildbot patch 3/6] fix out-of-tree build Gerd Hoffmann
2013-02-01 14:02 ` [Qemu-devel] [buildbot patch 4/6] use --disable-debug-info Gerd Hoffmann
2013-02-01 14:02 ` [Qemu-devel] [buildbot patch 5/6] save config.log Gerd Hoffmann
2013-02-01 14:02 ` [Qemu-devel] [buildbot patch 6/6] add log tail to failure reports Gerd Hoffmann

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=1359727345-10477-3-git-send-email-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=berendt@b1-systems.de \
    --cc=qemu-devel@nongnu.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).