From patchwork Thu Feb 6 11:33:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 862485 Delivered-To: patch@linaro.org Received: by 2002:a5d:51d2:0:b0:385:e875:8a9e with SMTP id n18csp78561wrv; Thu, 6 Feb 2025 03:34:39 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVhazFeGSUDRqUIfptTQdN6dxcpvHh9bNcZLdHEyElfNNI4qQY4Dm5H9YKYmXb5qvfwwL8cSA==@linaro.org X-Google-Smtp-Source: AGHT+IHkR71UR3j+zhzFvUhCemLGo7GrihSF3BtM8yx4QmzE5fNjaD5TtHp5bGJKlk4nQN8pSTmK X-Received: by 2002:ad4:5ce9:0:b0:6d8:8a60:ef2c with SMTP id 6a1803df08f44-6e42fb6a6a3mr100942726d6.2.1738841679528; Thu, 06 Feb 2025 03:34:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1738841679; cv=none; d=google.com; s=arc-20240605; b=cQSeywjIIyVN2r+K+Cs+bEvgUNz+EHrxUYyBgFAN0pEJx5N5nDBkCLtHzQsARoj0Lb 8GpnRwvlzrYEkueSweJ907j1PMxUkPv+4TDUckLGn3TWgZO+I+waLqIf3TsDFF8CH2/R oVYySKekObtm0Zq3cm9/hBFqt3OefWAmb04/qQB477EbvksMJzoGrxWR3ihK/cNSXd+E 2S5DpQ5htTe5vbaiVNYwsW8NcRwHhFYJE97EvmzqQ/8SS4b3YvE4TGcOHM64NO7q24b6 hwmQeZ4lTyZC84FA+MUNzxJuurTdROpBlrLyMHjcbjnXf7SX5uDialMzoGu5kdv+6PAi XcBQ== 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=2lrz/Z9U2Uf5jpDeQ6Q5rMzyggw9C9+W1C5t50i9qAk=; fh=KB7JHaNjI5K4DpKM/QhtRxZS6iSNZtGQL2GKAsTumMw=; b=FDleDEY5mN/yJ6A0zbv1lgFPKXc11PxAmrBeZlKeLiIzdicn7e3KTcLxvgXnL9raIy 9wkBo2yWJ2e0RP2WYXmlZRCzF9fS15GikfkIuEFVbR6vjhIFgvX/8Ld5gK9dQLD5hGRl kMSgGrsXjcKfqtRVF7HD7qKXxW+1w82ki2/ptPXTyput82nNAKxwPRNxr4vcDr5bgsii JVeKeGAdgG6r/dLZN5Xt3+UbqhqTGcPfgyBqhgOkBq2FDkUAvkVsLaGtVHntZfzNs90G +YLo17hswO8AamUaSHHCz19cYAfr/N3FeT21SWHRbWUXbZPQZrsMb+ptlC+wxBQT5pX+ m4Gg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NAz9wARY; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6e43bae1209si9860516d6.325.2025.02.06.03.34.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Feb 2025 03:34:39 -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=NAz9wARY; 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 ) id 1tg09L-00080Y-3Y; Thu, 06 Feb 2025 06:34:27 -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 ) id 1tg09I-0007qo-BH for qemu-devel@nongnu.org; Thu, 06 Feb 2025 06:34:24 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tg09G-0000tB-E6 for qemu-devel@nongnu.org; Thu, 06 Feb 2025 06:34:24 -0500 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-38dc5764fc0so38130f8f.3 for ; Thu, 06 Feb 2025 03:34:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1738841660; x=1739446460; 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=2lrz/Z9U2Uf5jpDeQ6Q5rMzyggw9C9+W1C5t50i9qAk=; b=NAz9wARYgv/PzUKvKwRbyaH1JfknC+PQJclHCGM1CtTMSN4vqMwsk0LpLLI1XRrhvU yHDtsejuQjcXdxOM6PydYZU9vvBDplEYKobN6m+55jbyEalsThTTyv9i9cTdGpZUZO9e gLWAaibqvp2SoNO8wS8MTgQSOFC6ZnORmh6ParBbud3hNhH/CDOe0/cvGhSrrXO2TWN1 4qfO4XfLgaCOGARzQaQvRILgn0+MqE2Nhi77K4TLbeXUv+dwRpKUA3WxEpE84hBwCQOB Jrog7xvjtoq5yBxwBnaSXFITzIZl7PBJc/vsi5F9jhjUVCTPl8GuTp4S51kvxdUoR6VT fiQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738841660; x=1739446460; 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=2lrz/Z9U2Uf5jpDeQ6Q5rMzyggw9C9+W1C5t50i9qAk=; b=Wi5V24IS5BQIs9lwIvT7bk4XnKo1k4CqwE6l212xk0WCQAJXUDAecwvqdwZp+qn7w3 /tawJuAL2pk2e+k1GL+KXUuCgOUryTeI76iK4VL/1+xBhSudfjb/g6LESpeLvuppbtVw nBWo1jAiu8NVcB/UueDYY4HEBQn32PqAWdPpffTlMCOGDBP05TkPgJaT9Fa7CB/9iC18 VLd2SW1GGxdR4rEqNY3i2PC8RGmSUEdb2fHETWpUeKq1/VU9cE4J/KKJkhc6BRertT/h op9Bpie9KYY5Bj6yyvfdzzXorPb+1N/3Ld5DWLQ2W+Dco3d1gnUVcsqGKNff/aeqBBls fTIg== X-Gm-Message-State: AOJu0Yw7xbst/HO/dG8iaAXpA4Pl4Tax9xjdkn/lPRnHRd87pLNF8Jsz m/ZGBd2lrPKFiAcVl+2ZWbs63pwEJWuTcDvDcb9FlY0JdheWLTCMzeMrT7gGe95giPYjGtX5Ctl oBtU= X-Gm-Gg: ASbGncv5P5IeWpRQDvItU8j9pWuy3pUAzVaJ2iN+J+5fCEIN/ZyGaQMa470gFy0Ar/M qXJymgOZKuY1E6jTiTGKa7ntFj9wpOJtCg64FEayIpWg/wfn//TYAH+PQiJXcgc5+uGI3XCp1WG ZEqYs4PbW3VivKrn74CR0sd+G5uAO3rWpoEY7+IX1AcSkvdx4jztG3Jjdg15RGISN+AKG+z9fAE f0qnle1SY+iL/bT1b2/Xt7V7aq7tjglasx31g97kZvPxd/IvnEH8IyipP0T5JikTk5NSiFEsAUO YMyzmiQb0/m/f3Qv/Lrd/fT21RmzjwmlbwcVNxUtS2NUyOEIQdMHRqe9kJryqZlCmw== X-Received: by 2002:a5d:64a1:0:b0:38c:5e03:5d9 with SMTP id ffacd0b85a97d-38db48bce45mr5672009f8f.16.1738841660255; Thu, 06 Feb 2025 03:34:20 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38dc33939f3sm487320f8f.17.2025.02.06.03.34.19 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 06 Feb 2025 03:34:19 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Anton Johansson , Alistair Francis , Richard Henderson , Thomas Huth , Jason Wang , "Edgar E. Iglesias" , =?utf-8?q?Philippe_Mathieu-?= =?utf-8?q?Daud=C3=A9?= Subject: [PATCH v4 12/16] tests/functional: Explicit endianness of microblaze assets Date: Thu, 6 Feb 2025 12:33:17 +0100 Message-ID: <20250206113321.94906-13-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250206113321.94906-1-philmd@linaro.org> References: <20250206113321.94906-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=philmd@linaro.org; helo=mail-wr1-x436.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org The archive used in test_microblaze_s3adsp1800.py (testing a big-endian target) contains a big-endian kernel. Rename using the _BE suffix. Similarly, the archive in test_microblazeel_s3adsp1800 (testing a little-endian target) contains a little-endian kernel. Rename using _LE suffix. These changes will help when adding cross-endian kernel tests. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth --- tests/functional/test_microblaze_s3adsp1800.py | 6 +++--- tests/functional/test_microblazeel_s3adsp1800.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/functional/test_microblaze_s3adsp1800.py b/tests/functional/test_microblaze_s3adsp1800.py index 2c4464bd05a..fac364b1ea9 100755 --- a/tests/functional/test_microblaze_s3adsp1800.py +++ b/tests/functional/test_microblaze_s3adsp1800.py @@ -15,14 +15,14 @@ class MicroblazeMachine(QemuSystemTest): timeout = 90 - ASSET_IMAGE = Asset( + ASSET_IMAGE_BE = Asset( ('https://qemu-advcal.gitlab.io/qac-best-of-multiarch/download/' 'day17.tar.xz'), '3ba7439dfbea7af4876662c97f8e1f0cdad9231fc166e4861d17042489270057') - def test_microblaze_s3adsp1800(self): + def test_microblaze_s3adsp1800_be(self): self.set_machine('petalogix-s3adsp1800') - self.archive_extract(self.ASSET_IMAGE) + self.archive_extract(self.ASSET_IMAGE_BE) self.vm.set_console() self.vm.add_args('-kernel', self.scratch_file('day17', 'ballerina.bin')) diff --git a/tests/functional/test_microblazeel_s3adsp1800.py b/tests/functional/test_microblazeel_s3adsp1800.py index c382afe6bfa..5d353dba5d2 100755 --- a/tests/functional/test_microblazeel_s3adsp1800.py +++ b/tests/functional/test_microblazeel_s3adsp1800.py @@ -17,14 +17,14 @@ class MicroblazeelMachine(QemuSystemTest): timeout = 90 - ASSET_IMAGE = Asset( + ASSET_IMAGE_LE = Asset( ('http://www.qemu-advent-calendar.org/2023/download/day13.tar.gz'), 'b9b3d43c5dd79db88ada495cc6e0d1f591153fe41355e925d791fbf44de50c22') - def test_microblazeel_s3adsp1800(self): + def test_microblazeel_s3adsp1800_le(self): self.require_netdev('user') self.set_machine('petalogix-s3adsp1800') - self.archive_extract(self.ASSET_IMAGE) + self.archive_extract(self.ASSET_IMAGE_LE) self.vm.set_console() self.vm.add_args('-kernel', self.scratch_file('day13', 'xmaton.bin')) tftproot = self.scratch_file('day13')