[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/5] tests/vm: Use make's --output-sync option
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH 5/5] tests/vm: Use make's --output-sync option |
Date: |
Fri, 3 Aug 2018 09:52:30 +0100 |
Use make's --output-sync option when running tests inside VMs,
so that if we're building with parallelization the output doesn't
get scrambled.
Signed-off-by: Peter Maydell <address@hidden>
---
tests/vm/freebsd | 4 ++--
tests/vm/netbsd | 4 ++--
tests/vm/openbsd | 4 ++--
tests/vm/ubuntu.i386 | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/vm/freebsd b/tests/vm/freebsd
index 795f739c7b3..0a6ec4614a7 100755
--- a/tests/vm/freebsd
+++ b/tests/vm/freebsd
@@ -23,8 +23,8 @@ class FreeBSDVM(basevm.BaseVM):
cd $(mktemp -d /var/tmp/qemu-test.XXXXXX);
tar -xf /dev/vtbd1;
./configure {configure_opts};
- gmake -j{jobs} {verbose};
- gmake -j{jobs} check {verbose};
+ gmake --output-sync -j{jobs} {verbose};
+ gmake --output-sync -j{jobs} check {verbose};
"""
def build_image(self, img):
diff --git a/tests/vm/netbsd b/tests/vm/netbsd
index c211672bcbd..45c9260dc0d 100755
--- a/tests/vm/netbsd
+++ b/tests/vm/netbsd
@@ -23,8 +23,8 @@ class NetBSDVM(basevm.BaseVM):
cd $(mktemp -d /var/tmp/qemu-test.XXXXXX);
tar -xf /dev/rld1a;
./configure --python=python2.7 {configure_opts};
- gmake -j{jobs} {verbose};
- gmake -j{jobs} check {verbose};
+ gmake --output-sync -j{jobs} {verbose};
+ gmake --output-sync -j{jobs} check {verbose};
"""
def build_image(self, img):
diff --git a/tests/vm/openbsd b/tests/vm/openbsd
index 1e0c2500ad9..98edfbca4ba 100755
--- a/tests/vm/openbsd
+++ b/tests/vm/openbsd
@@ -23,9 +23,9 @@ class OpenBSDVM(basevm.BaseVM):
cd $(mktemp -d /var/tmp/qemu-test.XXXXXX);
tar -xf /dev/rsd1c;
./configure --cc=x86_64-unknown-openbsd6.1-gcc-4.9.4
--python=python2.7 {configure_opts};
- gmake -j{jobs} {verbose};
+ gmake --output-sync -j{jobs} {verbose};
# XXX: "gmake check" seems to always hang or fail
- #gmake -j{jobs} check {verbose};
+ #gmake --output-sync -j{jobs} check {verbose};
"""
def build_image(self, img):
diff --git a/tests/vm/ubuntu.i386 b/tests/vm/ubuntu.i386
index 7ea25327071..54c25d5727a 100755
--- a/tests/vm/ubuntu.i386
+++ b/tests/vm/ubuntu.i386
@@ -25,8 +25,8 @@ class UbuntuX86VM(basevm.BaseVM):
sudo chmod a+r /dev/vdb;
tar -xf /dev/vdb;
./configure {configure_opts};
- make -j{jobs};
- make check -j{jobs} {verbose};
+ make --output-sync -j{jobs};
+ make --output-sync check -j{jobs} {verbose};
"""
def _gen_cloud_init_iso(self):
--
2.17.1
- [Qemu-devel] [PATCH 0/5] tests/vm: various minor improvements, Peter Maydell, 2018/08/03
- [Qemu-devel] [PATCH 1/5] tests/vm: Use -cpu max rather than -cpu host, Peter Maydell, 2018/08/03
- [Qemu-devel] [PATCH 4/5] tests/vm: Bump guest RAM up from 2G to 4G, Peter Maydell, 2018/08/03
- [Qemu-devel] [PATCH 5/5] tests/vm: Use make's --output-sync option,
Peter Maydell <=
- [Qemu-devel] [PATCH 2/5] tests/vm: Pass the jobs parallelism setting to 'make check', Peter Maydell, 2018/08/03
- [Qemu-devel] [PATCH 3/5] tests/vm: Propagate V=1 down into the make inside the VM, Peter Maydell, 2018/08/03
- Re: [Qemu-devel] [PATCH 0/5] tests/vm: various minor improvements, Fam Zheng, 2018/08/03
- Re: [Qemu-devel] [PATCH 0/5] tests/vm: various minor improvements, Fam Zheng, 2018/08/03