From patchwork Wed Mar 10 15:59:49 2021 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: 396747 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp493718jai; Wed, 10 Mar 2021 08:01:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBlvWkLBFttL2VVdzmbtcVUiqq7rTpikx94YUw8CtEqUD8SdwI4ztMh1DJITvPJWBbC93G X-Received: by 2002:a05:6102:b11:: with SMTP id b17mr2293188vst.43.1615392116831; Wed, 10 Mar 2021 08:01:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615392116; cv=none; d=google.com; s=arc-20160816; b=j7v2gOc/T0O+nKU1HsBYQ9LzqMENV+0gnMeP9grqjyo4CU1QhzDTysgb8tSF8EgFme oMYEkEcePnX7UnSAt3HqWTl8JE7cRI4T9JNbbBZu9o7KltdnD+JbRPAw7Xq57Yi4N22F GHKL73dkXkMuuIrbWxzV7sVm++FN+zVZRjx+aUvQTLZwZd/a4fNt5t8gsMI8GEiSTjh7 2CHMU5ud/GqwbYM5mQtqZ1350iCwwD2noWBN1k3JEiiszfSwfI86Z4SHtVSKWrza5c2F qlYcQgiu5WztTw4otF0Cha6zWoHEqi+ROYJYIuSSD20H7qu9ZfqXraHuu3HkxNceK9RF 5TEA== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=8s+rghqoDmtXn+vNGYx+gVftGGy4eFdbii8sa4jsLZY=; b=aaFtr00zVgpBcZIbhfPmjXgZumETo60LzRiLxsqItqJNDowAp6uIqaL2P/NguPoXfP Ony7zabpgwG/N2nvxIHtcwBFKzivEdn23hhe07EJJ6PPI3dbqxNvjRC2a4ZoWws1yAoE ZtNzXVJs0XOx0GjI0S9T6CRWmyZvWi7F5gVNJHAIMBTp+PsGvFsRZUl0OtFqwcDromUD k1Z/gfR5S0pkqhx9l64UzlWP34T+yX8Jt47KFjtb1oxR6OlYlc0aZq1M6hovOzq0QNAe pR7YTyiseiFeL5bLJKJCj5XHUBo3FnAKyZZFxb5YpLzKBgn/OFqK5XgabAAvHUtfCUQL VVqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qCZkG5X5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r23si2777445vsk.75.2021.03.10.08.01.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Mar 2021 08:01:56 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qCZkG5X5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:53442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lK1HY-0004Uj-6O for patch@linaro.org; Wed, 10 Mar 2021 11:01:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lK1Fu-0004PI-8m for qemu-devel@nongnu.org; Wed, 10 Mar 2021 11:00:14 -0500 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:38899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lK1Fs-0002Zp-32 for qemu-devel@nongnu.org; Wed, 10 Mar 2021 11:00:14 -0500 Received: by mail-ed1-x536.google.com with SMTP id m9so28793279edd.5 for ; Wed, 10 Mar 2021 08:00:11 -0800 (PST) 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=8s+rghqoDmtXn+vNGYx+gVftGGy4eFdbii8sa4jsLZY=; b=qCZkG5X5nMnm+k7GMCdOQzYSm4Z7KIOlRE4BTcjHRE7nQyJqNq/cvWCaCElkjsA3mm RK+Yb+v4V2E/LoLBF8I3l/9BzDNOXMVm7gD0/M76ZPaAyTCigcAUOTRe0ZY8I/K+xZKZ 4fTTSai0038H8007j1zCJMxNmdzksOY5Xo1LMyetWG1bVORpS3LZFdwIDWMXCUSqHpm+ X5SOWV0L2RppC3xeG3j4j1Imc0Dh/5EdAnuNkGNCP0eJXRJQ1a7Gz48kyXkeT3K7I5zO i9udbBx/eQSYgBYyoWtCAVKIROxKPJekjmdNk5OO9lzzkeI+VPEgoHMPZ1qxIqRfnHYz lbAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8s+rghqoDmtXn+vNGYx+gVftGGy4eFdbii8sa4jsLZY=; b=dewYQhadNWhLQGWMGV0RbFeaTauaI9OpBvatQ+uVifPBMNFiGgRFX9YnCJ/m+tKnk9 fwzTDS/5zKZ4FZ90RIoCrQNoav3MTTvlfydYmTwnxRX+T4VNTLV3kkDov3o2i9wlJuFQ l8pa4z1CMsxU3pJhMIrDdUgXAtv3+1s+67zirlf5g1qbNPCf9XxlqxcLjURV5tAPnFnu cOyyCqhI31fZDL2Jvy8DXtUqkdujt0e4djfKHnf/F59ykYDitXQyinERQt1FiGRFjq00 nepl9zaeAX/FVs1i97aU2RBysSsVlZerC+hT6zlcm9l/1k3aOTLmX24N5DnziMY2B8bB v3Ag== X-Gm-Message-State: AOAM531pOH+ipG4kbF0A92RwbgLfGbgpI81+9xCZgJdKnBmA/rx5MyUH WrxuUlZ/gSJnNEjqWUTzQvGaAA== X-Received: by 2002:a05:6402:549:: with SMTP id i9mr4166540edx.379.1615392007574; Wed, 10 Mar 2021 08:00:07 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id k26sm10149388ejk.29.2021.03.10.08.00.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 08:00:03 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id BE1EF1FF8C; Wed, 10 Mar 2021 16:00:02 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL v2 02/15] tests/docker: add a test-tcg for building then running check-tcg Date: Wed, 10 Mar 2021 15:59:49 +0000 Message-Id: <20210310160002.11659-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210310160002.11659-1-alex.bennee@linaro.org> References: <20210310160002.11659-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x536.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is mostly useful for verifying containers will work on the CI setup. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210305092328.31792-4-alex.bennee@linaro.org> -- 2.20.1 diff --git a/tests/docker/test-tcg b/tests/docker/test-tcg new file mode 100755 index 0000000000..00993b73ba --- /dev/null +++ b/tests/docker/test-tcg @@ -0,0 +1,22 @@ +#!/bin/bash -e +# +# Build and run the TCG tests +# +# Copyright (c) 2021 Linaro Ltd. +# +# Authors: +# Alex Bennée +# +# 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" + +# although we are not building QEMU itself we still need a configured +# build for the unit tests to be built and run +TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ +build_qemu +check_qemu check-tcg