]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
tests/vm: Pass the jobs parallelism setting to 'make check'
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Aug 2018 08:52:27 +0000 (09:52 +0100)
committerFam Zheng <famz@redhat.com>
Wed, 15 Aug 2018 02:12:35 +0000 (10:12 +0800)
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: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20180803085230.30574-3-peter.maydell@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
tests/vm/freebsd
tests/vm/netbsd
tests/vm/openbsd
tests/vm/ubuntu.i386

index 039dad8f693c1a0c3db900a6e0b53e3549d6dea9..2187a17327408570428a4999f3a0cd4ea66918d3 100755 (executable)
@@ -24,7 +24,7 @@ class FreeBSDVM(basevm.BaseVM):
         tar -xf /dev/vtbd1;
         ./configure {configure_opts};
         gmake -j{jobs};
-        gmake check;
+        gmake -j{jobs} check;
     """
 
     def build_image(self, img):
index 3972d8b45cd1d6e9ac2af0677794fadf58f140f9..2cc4798f0c40568344578a3d0b7a4ad93ec78027 100755 (executable)
@@ -24,7 +24,7 @@ class NetBSDVM(basevm.BaseVM):
         tar -xf /dev/rld1a;
         ./configure --python=python2.7 {configure_opts};
         gmake -j{jobs};
-        gmake check;
+        gmake -j{jobs} check;
     """
 
     def build_image(self, img):
index 6ae16d97fdf0a02b71af35763c2f3a5fb66fd86b..df6b79fe7dc6c0e8775533ed0599aad12983af2b 100755 (executable)
@@ -25,7 +25,7 @@ class OpenBSDVM(basevm.BaseVM):
         ./configure --cc=x86_64-unknown-openbsd6.1-gcc-4.9.4 --python=python2.7 {configure_opts};
         gmake -j{jobs};
         # XXX: "gmake check" seems to always hang or fail
-        #gmake check;
+        #gmake -j{jobs} check;
     """
 
     def build_image(self, img):
index fc27b6935e7a1168605c88f91916e33a82dd5a64..2498fc757059361dce1ae71977aa8b8405b8a15a 100755 (executable)
@@ -26,7 +26,7 @@ class UbuntuX86VM(basevm.BaseVM):
         tar -xf /dev/vdb;
         ./configure {configure_opts};
         make -j{jobs};
-        make check;
+        make -j{jobs} check;
     """
 
     def _gen_cloud_init_iso(self):