From patchwork Tue Oct 11 16:16:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 77496 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp75357qge; Tue, 11 Oct 2016 09:19:01 -0700 (PDT) X-Received: by 10.233.239.214 with SMTP id d205mr3742258qkg.170.1476202741199; Tue, 11 Oct 2016 09:19:01 -0700 (PDT) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id l16si1810026qtl.31.2016.10.11.09.19.01 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 11 Oct 2016 09:19:01 -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; dkim=fail header.i=@linaro.org; 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 dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btzlc-0002Xz-LM for patch@linaro.org; Tue, 11 Oct 2016 12:19:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btzjO-0001cK-UM for qemu-devel@nongnu.org; Tue, 11 Oct 2016 12:16:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btzjK-0001ue-NO for qemu-devel@nongnu.org; Tue, 11 Oct 2016 12:16:41 -0400 Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:33739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btzjK-0001ua-JB for qemu-devel@nongnu.org; Tue, 11 Oct 2016 12:16:38 -0400 Received: by mail-qk0-x22e.google.com with SMTP id n189so42763521qke.0 for ; Tue, 11 Oct 2016 09:16:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eXOwwmGqIxreHxVLd0cyKiilnTOPSsCXCAKJNO56iiI=; b=W+W7ZWL8JKH98dSwaexHdgCokN3fdQZdrQoBUiJDgV4uIzJBAWNj988K7o9mn330op qDAbkxEfYxfwxcugnuEamBqjD9sDvtXf8E8VCCoFM8l89/XJW+u2eujsOrNVK6bWvubp /3loDJ4JqGxNcApZ2vWbEE30hap0HPaoXKdY8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eXOwwmGqIxreHxVLd0cyKiilnTOPSsCXCAKJNO56iiI=; b=MjhonUVLnM6GAyyKsV1Dv2OGVAFlFJOjrelJB/ty1DUyMLy3AFY2yCxUOM785Vz1OO 04bMoY9IN7eymIRz2m9XexXFXGdXJ4UyRhfu7phMlC11GVOTDwQ4LB3dRbdNUhVsoDzC 58cnfgUAbAKNrA2AdMKn/MjoMmDgKSDesJ6l9xkQIJ+comn1VSmhNheKZCj1bTBkGy3u BMR2vVdLLAamD6JrvYaYFNUeI8uU+aXAWJ/tk3PYFafb0plKHnifr+1R1eOgZlW/Gwvq 1m7QncGmh9FA03OSPVIGR05XFEvbKRgLU+/6y57h/8ocbZxSb05oHQg44s2LYP6WOzf3 NE2g== X-Gm-Message-State: AA6/9RmKGaA+e2JPOXmkmPu6TRJ2EWx0ubWs5oQn59oHoTtjCh+jz3wen184fLsYhgtLA+aq X-Received: by 10.194.134.161 with SMTP id pl1mr6033039wjb.81.1476202598079; Tue, 11 Oct 2016 09:16:38 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id ct1sm7579183wjd.13.2016.10.11.09.16.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Oct 2016 09:16:37 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 6554B3E0559; Tue, 11 Oct 2016 17:16:36 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: famz@redhat.com Date: Tue, 11 Oct 2016 17:16:22 +0100 Message-Id: <20161011161625.9070-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161011161625.9070-1-alex.bennee@linaro.org> References: <20161011161625.9070-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::22e Subject: [Qemu-devel] [PATCH v3 2/5] 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: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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 --- v3 - fix comments for script - merge with new build_dir - flatten default target list --- tests/docker/test-build | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 tests/docker/test-build -- 2.9.3 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