From patchwork Fri Mar 5 09:23:22 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: 393479 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp267991jai; Fri, 5 Mar 2021 01:32:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZ2axr2qUoIYClnv6CYqMJF8u6Egwc8x6L6/60VTbawiv5HFHcpVkaKTPYjI98vvrK8Gc2 X-Received: by 2002:a9d:881:: with SMTP id 1mr4850168otf.329.1614936753839; Fri, 05 Mar 2021 01:32:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614936753; cv=none; d=google.com; s=arc-20160816; b=WUwLZjt4J5zU+Dt3J7DHbW3Tn+snoqNIhxUKg1wbLJ+Wr4kRhve09xm3tNC6P2KFwO uRlgvigO/OxlZftm0ZUYIEtvr8+XzS4v9llFiMOY8pbODMNzTwT9qgT105fArLIEp5ig WveJK1+jFMYb4OdpwplpGMX1dbncwaU7d/BjLmtTkVY9iOEYi8SpRaITIkK1Jx1EidZX 4YtNJZiwVpBnDPeQTDYvWDMqA0BRaOwFPe6RyrCbIkg8EPYiDvepx0Bl1gShC459Uqss x5pZPTtGqPSfUCcpy7jds/RAytjFKtZ22zNEOsd4fej0XbhHMX8fFcC+0q5VlDFGUMk7 E4kg== 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=uKQWxVwgxygYQ7LgI/xiLI0s1GHCcjX+cZ0DX5HRE4c=; b=JmpW/cIKL6vc64/c6U6+XWdnqC/0Jbf+LKA5QVB0OQTKcjaljdk3ZPMZgUWK3jT1WV IyaM026ivT6/P8DyDVidthVht9V6ikbV/muhXCif0//JqvCrSozVC58h/cu+DcUfgPuo UFrgkyOWvQFErTPqB+hwwDRBPSWL4jNcTQkUAJ2lAEpPmb/bQKQsMZTuOmQrp0RhGSOw AxACeZBNN7Ns7yI9mrCVmVj3ILgAz0ILSaumVduxIIiihzrnqH0mk+wkSiFP9ndEGh6l Jcd2lVC4DYq98ewKkZsu82IgukANiRyvjGjcfUcmIrwdOyxnyU/y0YUJ3tRgDcHzvw1j aVyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PEul8SeB; 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 c36si2024694otu.243.2021.03.05.01.32.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Mar 2021 01:32:33 -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=PEul8SeB; 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]:46498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lI6oz-0008JO-9T for patch@linaro.org; Fri, 05 Mar 2021 04:32:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lI6gT-0001CP-De for qemu-devel@nongnu.org; Fri, 05 Mar 2021 04:23:45 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:38420) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lI6gJ-0004Ig-9H for qemu-devel@nongnu.org; Fri, 05 Mar 2021 04:23:45 -0500 Received: by mail-wr1-x430.google.com with SMTP id d15so1284329wrv.5 for ; Fri, 05 Mar 2021 01:23:34 -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=uKQWxVwgxygYQ7LgI/xiLI0s1GHCcjX+cZ0DX5HRE4c=; b=PEul8SeBRF04WvhZkrBDUjl9y8unFA/utvpRXk5BZ33ANwtrodLk2rWh2x+cQknW2b KWiXo9TtLndDOCi0WKjxn4H+yczCSXmFmUVmyQNsrEPt8+ro2E2NzImXCZOBCRH7oDmR CWx9GMEKT++bPqGvz+bdhBzlvf/ktyvXgjPlAgjEl61nkBDpdqS40ST+Q0TrZo9hPYVa wNsOJOgl7OHkymJO2l+wqUJAWUhrMrwM5IJzwzToFIhXNCvU1KZA/PtI/JsSSbcraVgn CgiUth7R8Et8fwZcpU9NOPaT1XTNVd0DGKdH/ruioovaTuSKUe0/67U/K7WjLPHXn0yk TUzQ== 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=uKQWxVwgxygYQ7LgI/xiLI0s1GHCcjX+cZ0DX5HRE4c=; b=c4cxyR+mwHFRosJMyicvH2XEy9Y72onSWfjugi+AxfVXvMabAtLzUI0zGeOmvfm3cs vvXRtVVyZXX3jEh/b0mKbOpm9uQmzPXHqxOs9ZcW+xMVrskEY3/1EDN/yha/i6VbsOr7 oU24dWzoMvXdgZhEbFq/rFpReVr8D2EFSpxdm8EBW82ZsEglx4N4W8/+Ky8f19kHlaUy cO9kJOWjIoCctGTvGXH3m3B+6BuH3WCe07n+jRX80NTvVUbBy2YIQmcjKOCRobI9RZid zvaqo1G1DWTo3LK431Q8BSAAlhN8XZ5/yAznuqGj8r6QUE9Hi5T8zcyxb6mpj008GX+H amPw== X-Gm-Message-State: AOAM531F7JrJOtiU8IH0tpKGxr6bgKIO2KYehVRnbRrPxngBlZdEck9F msAYlYF8+G3RZDcx1oamALWdoA== X-Received: by 2002:adf:e94a:: with SMTP id m10mr8231068wrn.55.1614936213780; Fri, 05 Mar 2021 01:23:33 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id m11sm3527749wrz.40.2021.03.05.01.23.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Mar 2021 01:23:29 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 378CB1FF8F; Fri, 5 Mar 2021 09:23:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 3/9] tests/docker: add a test-tcg for building then running check-tcg Date: Fri, 5 Mar 2021 09:23:22 +0000 Message-Id: <20210305092328.31792-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210305092328.31792-1-alex.bennee@linaro.org> References: <20210305092328.31792-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@euphon.net, berrange@redhat.com, =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= , f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , aurelien@aurel32.net 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 --- tests/docker/test-tcg | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 tests/docker/test-tcg -- 2.20.1 Reviewed-by: Philippe Mathieu-Daudé 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