From mboxrd@z Thu Jan 1 00:00:00 1970 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) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Tue, 11 Oct 2016 17:16:22 +0100 Message-Id: <20161011161625.9070-3-alex.bennee@linaro.org> In-Reply-To: <20161011161625.9070-1-alex.bennee@linaro.org> References: <20161011161625.9070-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v3 2/5] tests/docker: test-build script List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: famz@redhat.com Cc: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= 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 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 -- 2.9.3