From patchwork Wed Aug 15 03:12:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 144262 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp319236ljj; Tue, 14 Aug 2018 20:16:40 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwol2HV7S1N9LB8S+/0aA/wfI0DR1NKXv0JTSPZw8jMjQEnSjYbaY5a2AfBPPcwFHB1k4d9 X-Received: by 2002:a37:6809:: with SMTP id d9-v6mr21726246qkc.444.1534303000670; Tue, 14 Aug 2018 20:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534303000; cv=none; d=google.com; s=arc-20160816; b=WDCYFB8FDNjWqePy5/adZbWEXWV7B+SLPXDkV5sE74n0w1JGWzEkxeaVOLRopNwTGw xLC0QG19d3u//HOTSTSsHwjUXXpoGmevUfMwIUVxOoPxo0vRJTpfzPkWpKMgGQWiZ8tE XrFoHAOa+f6aFPguoMJR7b22b6Shthjo2jDm+M69hcCyCG9q265g4hVUb3ze7y/H168+ bPlCYIv21NDKPiScOIpKCjSL8M/Ib96huA9DogWMJfR6jDqRUdbgZfKhaAUQnblkhsEX x/BQV02d6Ow3Z8uK2j+maXPKnIZBs/CXpsJqDBeIDXB+8aiqkLmDSrahDSx2+Tboo9PE 4Log== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:arc-authentication-results; bh=3lDUBMRy96REkIGKzPHJ9YZlIuXMCsUQ6IAPVioFbXg=; b=nSkAR5WbXFnrFJMIiH91WGb8+mXYnEPwyA3xcu70ngYreWDUORHwbuWRzCMHPoB6j4 bQk+vqKV/x0jhyZGF9cwwZCd9GgIi8e7+VwQGRGr3iE/ys8fijFToA11H+ehV7EBSTGb PYIA91USoI6hvlibGFLq52EtZbBUYfbynBCmuxTzrCz3oEZ0n9GbNkIwTASmpAj+v89s D2gXKAXebK3YPHvYsT8DxIdSMNtAA6VsB+OoKssfPR/C06sNfOISnhbPdyn5II1XGnSv GSgvVDYsg52RK658Th8hS2wgsLtWCps/YjofOhVMZul8+Qt5dHN6vj6y7nzmEvEfm6D6 m3og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id o17-v6si5503771qvm.91.2018.08.14.20.16.40 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 14 Aug 2018 20:16:40 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:47082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpmIa-0008WO-3E for patch@linaro.org; Tue, 14 Aug 2018 23:16:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpmFQ-0007AK-Nj for qemu-devel@nongnu.org; Tue, 14 Aug 2018 23:13:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpmFP-0001Dw-AK for qemu-devel@nongnu.org; Tue, 14 Aug 2018 23:13:24 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:36186 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fpmFO-0001C4-Te for qemu-devel@nongnu.org; Tue, 14 Aug 2018 23:13:23 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 490AA819700A; Wed, 15 Aug 2018 03:13:22 +0000 (UTC) Received: from lemon.usersys.redhat.com (ovpn-12-85.pek2.redhat.com [10.72.12.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id D98BF7C4E; Wed, 15 Aug 2018 03:13:20 +0000 (UTC) From: Fam Zheng To: qemu-devel@nongnu.org Date: Wed, 15 Aug 2018 11:12:43 +0800 Message-Id: <20180815031248.14908-13-famz@redhat.com> In-Reply-To: <20180815031248.14908-1-famz@redhat.com> References: <20180815031248.14908-1-famz@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 15 Aug 2018 03:13:22 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 15 Aug 2018 03:13:22 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'famz@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PULL 12/17] tests/vm: Pass the jobs parallelism setting to 'make check' X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Peter Maydell 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 Message-Id: <20180803085230.30574-3-peter.maydell@linaro.org> Signed-off-by: Fam Zheng --- 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 039dad8f69..2187a17327 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 3972d8b45c..2cc4798f0c 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 6ae16d97fd..df6b79fe7d 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 fc27b6935e..2498fc7570 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):