From patchwork Mon Mar 8 13:50:48 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: 395434 Delivered-To: patch@linaro.org Received: by 2002:a17:906:a383:0:0:0:0 with SMTP id k3csp1860187ejz; Mon, 8 Mar 2021 06:23:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWiY/r5R7r5515fo12CWP328T+fKbNSKOAbbEWQouoGuxi6Kn4J0kzYdUnHl2OxJ+I9+Pw X-Received: by 2002:a05:6e02:92f:: with SMTP id o15mr20281992ilt.111.1615213434346; Mon, 08 Mar 2021 06:23:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615213434; cv=none; d=google.com; s=arc-20160816; b=vglk5NTdifyeh2N+BrgTpUjdnLVlDMsouW+bxhQVc8NqZdc7sw2snDhsscBNZyIpLG 1zIvlUGWB5RJb2AglFkH3acxZGlsByqW1VDBA/ryq769BsVYIyoXGl0g/fxH2FeOP6vB /KW5Q7OMRLD79IRiwIu3wMDHg/D2yzCpnax8i5RvkLHjbA5b8C1wr5Axu2kdk45pCtUA T7aFT7t4l2D98v0ntOipBVQ7GPaGmYmFXcNnlBBncvvXrwwHmB0EOjtmPJmHDiMo3vjI DRfZv+3cTT0LLCiyL6i2zlA2dM6Jx/V69+4NHLDMdLtJxG7Jxng8WMsRsm4qtbZ5RP1d Co3A== 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=TOFn0TlZwiPDGZtX+dvxWAiRXD2aM15am9rUUyRJFAfkVxMk7aUw+F7lWlEu4vkK1m A6yEadpYqXrPNxZINy6uWdmifHq7vYF70F9/7yJSKe3EIqWc1NfKKk4NchupkdsPR0va 0GptWvuprawk/ObgVL7TzsNVp+mwmvcf0YItjbAJJlWAvhg7bFoi80oEgqzFAIJhO5G0 WxP6npaSAMYTzOjtBMUpjSGpx2juXYldp/oAsRrLZ8NcNpY8vJVWw07J6jqIeCQbkneS mRBilws0BB2LA6yS2JDh98x4B0smugACZKhHDLH+rAKGVLf9aMb5ps43mrUMA7IKtkLi GLlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JDikbxMe; 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 m26si11011937jap.40.2021.03.08.06.23.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Mar 2021 06:23:54 -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=JDikbxMe; 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]:42240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJGnZ-0001zu-OP for patch@linaro.org; Mon, 08 Mar 2021 09:23:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJGHw-0006LN-RO for qemu-devel@nongnu.org; Mon, 08 Mar 2021 08:51:12 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:43516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJGHu-00019K-D8 for qemu-devel@nongnu.org; Mon, 08 Mar 2021 08:51:12 -0500 Received: by mail-wr1-x430.google.com with SMTP id w11so11520130wrr.10 for ; Mon, 08 Mar 2021 05:51:09 -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=JDikbxMe31Qs386NyhLVjDJP1O2ASmRPqTJr1Eo25jJA1aSYX5hNZgrkqIEtuFZQ8o GER0O6R2D6FYGFDD5JQ9Y8Xwn132jIAgudYG6TIchQBulqGZ6XohPihD1+sFvL8UCZqL wsBRCB+UZL1KkjFVFvuJUca8gTte58l0FMTocmR7KWT95FBdctukHW8H8e3KiMOYCCA9 IC5hUWW1rBOhFQTlrFPTTYgHs6RRGTLv2PxwlL/A3pffPs67z3HS4SGSf2j6c3AIqNyK 5CZB5O3evBOptQIJ01szDbLqBdylKokkkgWsejHH7x9Z1RstGE4RDUnuf5Pl+6czS2Od /m7A== 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=RwnL2iFnCHMg3dw9Y02mgTWivIOJ6Rj/u9alwcNjs4NUR4FrKxEjWiFxB+rGz/xVmA YRW4HEvKpa94oM6/88krZ7Gb0YgjQ81XHy5wlJdoXGBYXBvw5ZwCalyQ1x0YEVYXsnx4 D5i2053J5kANIvU7sn1DMIiq6P8T7s+P584g1YY9EE2NpEIkRGefijdXQH2oXtvqPQLu Y/LTXm7gav01aU/Yfv2tAk+5Xtmw5A0gHMubYm3KYbQH+c4waWQWbvF3mtV+aOfIkKRk uI0zIpOxsb1/u26H60awJVOS9tYH9grSqrnKHaZ3dqwVrfYaLn7+czGoW7tBqSOHPVWL XwAQ== X-Gm-Message-State: AOAM530jAEtyQ2ts9EeIgbgi4GRgRtXVnoW9PUh8aHDu0M18XDXWyp7T YGBJAkLB+J/PqwWu2PC7oCWxhQ== X-Received: by 2002:adf:ef4a:: with SMTP id c10mr22319349wrp.427.1615211468858; Mon, 08 Mar 2021 05:51:08 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id j11sm12300397wro.55.2021.03.08.05.51.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 05:51:05 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id ED41C1FF8C; Mon, 8 Mar 2021 13:51:04 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 02/18] tests/docker: add a test-tcg for building then running check-tcg Date: Mon, 8 Mar 2021 13:50:48 +0000 Message-Id: <20210308135104.24903-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210308135104.24903-1-alex.bennee@linaro.org> References: <20210308135104.24903-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.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