From patchwork Fri Oct 14 15:29:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 77673 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp359384qge; Fri, 14 Oct 2016 09:06:34 -0700 (PDT) X-Received: by 10.55.125.68 with SMTP id y65mr12245484qkc.319.1476461194695; Fri, 14 Oct 2016 09:06:34 -0700 (PDT) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id b27si10080740qtc.150.2016.10.14.09.06.34 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 14 Oct 2016 09:06:34 -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 Received: from localhost ([::1]:48155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv50E-00048V-60 for patch@linaro.org; Fri, 14 Oct 2016 12:06:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv4QL-0007vX-UZ for qemu-devel@nongnu.org; Fri, 14 Oct 2016 11:29:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv4QH-0008V2-TZ for qemu-devel@nongnu.org; Fri, 14 Oct 2016 11:29:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv4QH-0008Ub-NY for qemu-devel@nongnu.org; Fri, 14 Oct 2016 11:29:25 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4349533BE7; Fri, 14 Oct 2016 15:29:25 +0000 (UTC) Received: from lemon.redhat.com (vpn1-7-155.pek2.redhat.com [10.72.7.155]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9EFTI11026025; Fri, 14 Oct 2016 11:29:23 -0400 From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 14 Oct 2016 23:29:15 +0800 Message-Id: <1476458957-12856-3-git-send-email-famz@redhat.com> In-Reply-To: <1476458957-12856-1-git-send-email-famz@redhat.com> References: <1476458957-12856-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 14 Oct 2016 15:29:25 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL 2/4] tests/docker: test-build script 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 , Fam Zheng Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Alex Bennée Much like test-quick but only builds. This is useful for some of the build targets like ThreadSanitizer that don't yet pass "make check". Signed-off-by: Alex Bennée Message-Id: <20161011161625.9070-3-alex.bennee@linaro.org> Signed-off-by: Fam Zheng --- tests/docker/test-build | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 tests/docker/test-build -- 2.7.4 diff --git a/tests/docker/test-build b/tests/docker/test-build new file mode 100755 index 0000000..031a7d9 --- /dev/null +++ b/tests/docker/test-build @@ -0,0 +1,20 @@ +#!/bin/bash -e +# +# Quick compile test without the make check step of test-quick. +# +# Copyright (c) 2016 Red Hat Inc. +# +# Authors: +# Fam Zheng +# +# This work is licensed under the terms of the GNU GPL, version 2 +# or (at your option) any later version. See the COPYING file in +# the top-level directory. + +. common.rc + +cd "$BUILD_DIR" + +DEF_TARGET_LIST="x86_64-softmmu,aarch64-softmmu" +TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ +build_qemu