From patchwork Fri Aug 3 08:52:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 143391 Delivered-To: patches@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp222392ljj; Fri, 3 Aug 2018 01:52:36 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfmjE1CZK64/mon80Bl/onzTcO0WGmKJzhoHKZAkg0mDmFoXZXdU+u0xc4lLMFeal13Y8Qt X-Received: by 2002:a2e:4d51:: with SMTP id a78-v6mr4645195ljb.106.1533286356484; Fri, 03 Aug 2018 01:52:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533286356; cv=none; d=google.com; s=arc-20160816; b=cWUsZzcf9aOgQamqEV/j6wWiv1Xk6yKsgjixwcdlTIYQm8pBqbV1vRj3wKCLOknzfi t9RQBC3a93VeQbZMkqCE0JZzCLAXjK1SjuBZOmcxjfsBBonDaMGzzv0wkcgwctaRlrUy 9AvN97KyBK1txtV39BczHL6M9ZHLvl9j4NkqRsIQsEHPA0XMYKkqZhc3ZevGxlm5vybE WBOLkxniRYt5+xzsn0gmlNR1YsTj9ik/bQ63jT76rjXeL9pNiIM+0G9Snkx2AC8yaanw 5pKCnZX4upDXM85lAIt25VnLbB9ci6/GRN8TRzL0q9qYlCZIKgebAm5nrhc0qY9V2iVG 8RRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=XoghprM7EwCty0fgoOTMLqk96na1ezabK/sIK58zb3s=; b=lHFOY/1vh/UTc/mpx5BzIAf4Kq916cMpE930mHREclt78I68bwSe04+xmUd1ZzI/w1 cbKrcfIKuP15H00mUKz1gTcMYvp3MjQCHFVKENLRmwRYSd4tltu3A06maqRGuizzcKII IykuD+MP0ElYhQ7uLpW2ong1NnSfVi90ZGBj9kmDYeHhZDqJ3tdurNN++Aj65yVY1PCg rGVbjsfzitBfsIKtuNdL5dXLogAGvahASJreeaZmLxtK0itYqYgM8SRlTOBabFnJdVzE jEag1QjWyoQA4E4V/lgneJC1dmFeRn8p68yao20fDCYGLxT39Z2lTj2uvBGZ/imk9zAv sS/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) smtp.mailfrom=pm215@archaic.org.uk; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by mx.google.com with ESMTPS id y28-v6si1762112lfi.217.2018.08.03.01.52.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Aug 2018 01:52:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) client-ip=2001:8b0:1d0::2; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) smtp.mailfrom=pm215@archaic.org.uk; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from pm215 by orth.archaic.org.uk with local (Exim 4.89) (envelope-from ) id 1flVp5-0006rc-B6; Fri, 03 Aug 2018 09:52:35 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, =?utf-8?q?Alex_Benn=C3=A9e?= , Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 2/5] tests/vm: Pass the jobs parallelism setting to 'make check' Date: Fri, 3 Aug 2018 09:52:27 +0100 Message-Id: <20180803085230.30574-3-peter.maydell@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180803085230.30574-1-peter.maydell@linaro.org> References: <20180803085230.30574-1-peter.maydell@linaro.org> 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 --- tests/vm/freebsd | 2 +- tests/vm/netbsd | 2 +- tests/vm/openbsd | 2 +- tests/vm/ubuntu.i386 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- 2.17.1 diff --git a/tests/vm/freebsd b/tests/vm/freebsd index 039dad8f693..2187a173274 100755 --- a/tests/vm/freebsd +++ b/tests/vm/freebsd @@ -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): diff --git a/tests/vm/netbsd b/tests/vm/netbsd index 3972d8b45cd..2cc4798f0c4 100755 --- a/tests/vm/netbsd +++ b/tests/vm/netbsd @@ -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): diff --git a/tests/vm/openbsd b/tests/vm/openbsd index 6ae16d97fdf..df6b79fe7dc 100755 --- a/tests/vm/openbsd +++ b/tests/vm/openbsd @@ -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): diff --git a/tests/vm/ubuntu.i386 b/tests/vm/ubuntu.i386 index fc319e0e6eb..059d295865c 100755 --- a/tests/vm/ubuntu.i386 +++ b/tests/vm/ubuntu.i386 @@ -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):