Message ID | 20250120210212.3890255-2-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6000:cc8:b0:385:e875:8a9e with SMTP id dq8csp2121690wrb; Mon, 20 Jan 2025 13:03:32 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW9aoclW8bIJ1wBOLi2e4RY40qeqb6pLVn4HIKQbXJVMYG6vBUSC0juERiMkjBEze2ssOzPpg==@linaro.org X-Google-Smtp-Source: AGHT+IGgXKqhMqlehw657fJqVsv8CoTytZaKDyQyWXpBAivjIYfNACO6e5HDakkbbBZMl3QAuHCY X-Received: by 2002:a05:6214:2021:b0:6d9:353b:a8e9 with SMTP id 6a1803df08f44-6e1b217a868mr208016306d6.15.1737407012572; Mon, 20 Jan 2025 13:03:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737407012; cv=none; d=google.com; s=arc-20240605; b=c69ks48N+IIP5sFSqOftN4JWJ7mdQZn8WsUZ5Dh7JCF04SZke+qzHqekxRii7DjmNQ VdA7sQKVx2nJXN/VJvofTso+LT/A3S7b1hlRJTYzPFeknRrf7GKNy7ssWGJZpW+f+z5d Om1Is6Ap6Y+0ktrKGzy98nPOaJBiRnlDhbLqKb1x7Rx+kcWGQvKkTMbtggiC8uAo8ovU g7byWudO5UBKQW9dNy1UjTRwwdwQZnLFwXtZchyyPMnoPtKUoUIJiehMMOJjE2n2GQ/1 njBVJLk9uDmlpI+ak65lB4gDxeUM/tCmpuWVOWamKGgo3973wO9S3u13XaHA+pqSl/ar VzFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=tLu0rGl+J06PZUR5LsaS3cXdzyCcNICroK1QJ5nx9oM=; fh=EQp6smEaFdAr7wpyP5h5rYJIEl1oD9ydaw4Da2y3ICs=; b=SdLD07IOVlEYkmCWgbrFHnpqRYzVP/EYieC7eHAqvcPjlZE5DEWC8MR4wF/MLRyAzh fSeUO5NmzOfwYlj3rJ6rT//jWH2DXkOsnyVJPNS4t1b2+CrOE//xe81m2TDEAxN6uJ1V W22pkKSVDSYpsD6eovbXKObbNI1SDnjM3zciZTkiiZU/XvRWzlB3pqn9r6uJBXnAmx1U wDqWKYYmSbDOYommXpSbtnfZHqY7gpjC0JY6fssLIYxvC3zJRadD9ajb/W1XHlxXtLVh KSswmcPY93fJMi+0o7BAqoLCizjDv/c/dJ+EOHVQNMQid2hRuxbsFUFGzeixDrIVB2Dt K+TQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R5vu3SB3; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6e1afc176cdsi103464406d6.103.2025.01.20.13.03.32 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Jan 2025 13:03:32 -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=pass header.i=@linaro.org header.s=google header.b=R5vu3SB3; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tZyun-0001rj-Gf; Mon, 20 Jan 2025 16:02:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1tZyua-0001cM-9R for qemu-devel@nongnu.org; Mon, 20 Jan 2025 16:02:22 -0500 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1tZyuX-0002wX-He for qemu-devel@nongnu.org; Mon, 20 Jan 2025 16:02:19 -0500 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-ab2b29dfc65so732267266b.1 for <qemu-devel@nongnu.org>; Mon, 20 Jan 2025 13:02:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737406936; x=1738011736; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tLu0rGl+J06PZUR5LsaS3cXdzyCcNICroK1QJ5nx9oM=; b=R5vu3SB3NKu5zflkKQRE0A7up1K8L9mZa49AvbMLEiHvLwqm6XG2cVKShlDrxzclJU 9oNNMhtNDGJzNUJYF2xvlEGSlLB1fBTav/HnA86j1g5loRHlTb26KkGSkMXOAeLyAhDC eBs+IHY55EeGYtVsNhLCxSpPoMRYnYaoG1Si2u9DAqRuKbxniYcT/8NtPJXzgYEoVpLD hDjY7iAXROH+api9YpjtEVwEkjGATzsl0aUxtT2Tpw4Ddqm2eDrRr53InWDdTdFAwots AH5ka+hErAPKyJEB2Bx9AAeHgMK2FJ0eoGZ4u3cTZcCdTv3W2pKL45uBZmW3Q8FmYN05 3GGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737406936; x=1738011736; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tLu0rGl+J06PZUR5LsaS3cXdzyCcNICroK1QJ5nx9oM=; b=tyuKPikRq6O6rwylAtVYrlkJ/f+0S1+eNiyT+XN0bo5h0ux2aFyBaG9xDuCrQLfxRi zn3zKqrlVAk+JaKSaXTLxF4v9IR+fYaSmK6BrH44xRQZMKnlqXic6xEmU7MslgC3CosU kP6HmTRa9/ha3vFHEVr7mZj603q/v4q9K5+aEq9iIU6iKHgGGzqTi0KMqQe7GoOe3R5z qKewBZ2KpYNvOC1AUYIG1Geho6/LP9h2dEYDGIbeDx+6r5ETa+Zb2rKIyw9FJJjEhCk+ kB6HG/18y50MVeU4tRGLweeTHJ4f9k+M1u4JPZRQ+74ol9jWv6Y3w8Nalrgjwxi0IADA Vv9A== X-Gm-Message-State: AOJu0YzOk3ukXd4+m6cRUoq1dCVEpSJkqpQqHQALVfrIaANb2O2DnrTD YxtqCVl4IxQjLuQfIUO/qpYrYgC0GvjxTbYKXZKlOgZij5bNTDi16xj9GNJgUpQ= X-Gm-Gg: ASbGncsq5sLbCO4/C8wZnui5m6p8OFRLztVnMrs86gQoMJBOy7MVJg+dBBaVN1VB/sq uiqQloGkwkLe0t76wluoVztwvZXfd9NothSeUDKl2Pq1xDwMLl3JsEnEB9HOq/J2uAWmc/N+Dp6 IbvBCee2zM+74AtrzKtsABZDEFh10ApZUEXWbOEdB7rz1fWdc74iy+z+n8zoTHwXKe+rRcq8vd7 k2V1VbR4t8cfY5MOnS8uzF7+VqImuOosdDsxOm3bhppaIz4opnat80hsSjmOTZD4s41 X-Received: by 2002:a17:907:969f:b0:ab2:c9b8:aaa7 with SMTP id a640c23a62f3a-ab38b36b7f6mr1377104766b.44.1737406935643; Mon, 20 Jan 2025 13:02:15 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384f23007sm668940166b.96.2025.01.20.13.02.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2025 13:02:13 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id F0FE85F864; Mon, 20 Jan 2025 21:02:12 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Thomas Huth <thuth@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH 1/7] tests/docker: replicate the check-rust-tools-nightly CI job Date: Mon, 20 Jan 2025 21:02:06 +0000 Message-Id: <20250120210212.3890255-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250120210212.3890255-1-alex.bennee@linaro.org> References: <20250120210212.3890255-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x631.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.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
testing/next (qtest timer stuff)
|
expand
|
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index fead7d3abe..fa1cbb6726 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -236,3 +236,6 @@ docker-image: ${DOCKER_IMAGES:%=docker-image-%} docker-clean: $(call quiet-command, $(DOCKER_SCRIPT) clean) + +# Overrides +docker-test-rust%: NETWORK=1 diff --git a/tests/docker/test-rust b/tests/docker/test-rust new file mode 100755 index 0000000000..e7e3e94a55 --- /dev/null +++ b/tests/docker/test-rust @@ -0,0 +1,21 @@ +#!/bin/bash -e +# +# Run the rust code checks (a.k.a. check-rust-tools-nightly) +# +# Copyright (c) 2025 Linaro Ltd +# +# Authors: +# Alex Bennée <alex.bennee@linaro.org> +# +# 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" + +configure_qemu --disable-user --disable-docs --enable-rust +pyvenv/bin/meson devenv -w $QEMU_SRC/rust ${CARGO-cargo} fmt --check +make clippy +make rustdoc
This allows people to run the test locally: make docker-test-rust@fedora-rust-nightly Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- tests/docker/Makefile.include | 3 +++ tests/docker/test-rust | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100755 tests/docker/test-rust