提交 ebb61f80 编写于 作者: P Peter Maydell 提交者: Fam Zheng

tests/vm: Pass the jobs parallelism setting to 'make check'

Our test suite works for parallel execution too, and this can
noticeably speed up a test run; pass the 'jobs' setting to
it as well as to the build proper.
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
Message-Id: <20180803085230.30574-3-peter.maydell@linaro.org>
Signed-off-by: NFam Zheng <famz@redhat.com>
上级 ebe95fa0
...@@ -24,7 +24,7 @@ class FreeBSDVM(basevm.BaseVM): ...@@ -24,7 +24,7 @@ class FreeBSDVM(basevm.BaseVM):
tar -xf /dev/vtbd1; tar -xf /dev/vtbd1;
./configure {configure_opts}; ./configure {configure_opts};
gmake -j{jobs}; gmake -j{jobs};
gmake check; gmake -j{jobs} check;
""" """
def build_image(self, img): def build_image(self, img):
......
...@@ -24,7 +24,7 @@ class NetBSDVM(basevm.BaseVM): ...@@ -24,7 +24,7 @@ class NetBSDVM(basevm.BaseVM):
tar -xf /dev/rld1a; tar -xf /dev/rld1a;
./configure --python=python2.7 {configure_opts}; ./configure --python=python2.7 {configure_opts};
gmake -j{jobs}; gmake -j{jobs};
gmake check; gmake -j{jobs} check;
""" """
def build_image(self, img): def build_image(self, img):
......
...@@ -25,7 +25,7 @@ class OpenBSDVM(basevm.BaseVM): ...@@ -25,7 +25,7 @@ class OpenBSDVM(basevm.BaseVM):
./configure --cc=x86_64-unknown-openbsd6.1-gcc-4.9.4 --python=python2.7 {configure_opts}; ./configure --cc=x86_64-unknown-openbsd6.1-gcc-4.9.4 --python=python2.7 {configure_opts};
gmake -j{jobs}; gmake -j{jobs};
# XXX: "gmake check" seems to always hang or fail # XXX: "gmake check" seems to always hang or fail
#gmake check; #gmake -j{jobs} check;
""" """
def build_image(self, img): def build_image(self, img):
......
...@@ -26,7 +26,7 @@ class UbuntuX86VM(basevm.BaseVM): ...@@ -26,7 +26,7 @@ class UbuntuX86VM(basevm.BaseVM):
tar -xf /dev/vdb; tar -xf /dev/vdb;
./configure {configure_opts}; ./configure {configure_opts};
make -j{jobs}; make -j{jobs};
make check; make -j{jobs} check;
""" """
def _gen_cloud_init_iso(self): def _gen_cloud_init_iso(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册