[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [buildbot patch 2/6] make tests configurable
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [buildbot patch 2/6] make tests configurable |
Date: |
Fri, 1 Feb 2013 15:02:21 +0100 |
Signed-off-by: Gerd Hoffmann <address@hidden>
---
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