From patchwork Sun Jun 23 20:30:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1951323 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=citVApA4; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W6jSR67gsz1ydW for ; Mon, 24 Jun 2024 06:32:07 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 79F2D882E2; Sun, 23 Jun 2024 22:30:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="citVApA4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7BD9788405; Sun, 23 Jun 2024 22:30:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5EFC887D07 for ; Sun, 23 Jun 2024 22:30:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd2b.google.com with SMTP id ca18e2360f4ac-7eee7728b00so140423039f.3 for ; Sun, 23 Jun 2024 13:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1719174643; x=1719779443; darn=lists.denx.de; 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=ZxLbNXGoaXJvLvumbBY4pNS0+jFG7Ox/AWRsfxKB3CY=; b=citVApA4uyr9BJzfo+LXSFsV7jAXyS/qInZWXlKyO2lwqektc+lDPddk92JttCYsyn ZN6kg4Kf/kyO0jJGPzlVPXVsgTo/rd3XtpezXwKQqks1dQSJ1dy97r6wuAv+cuKQcyH1 ChWRSm0RHgLbn965Q+LxjRbMhpAuorHp9B8j0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719174643; x=1719779443; 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=ZxLbNXGoaXJvLvumbBY4pNS0+jFG7Ox/AWRsfxKB3CY=; b=KFk0wy0lzmtvfrWLAm29CJhmg3H5sER8U16umZa8EpIcjVqbcnqWMPLutYUH9tbz/x rBhpegcgFm8/TW4sUshOLxs/eGeR3NNKw6QJ9p8uUZi77r6WvfhcXMfM97r5DgTA3yuZ SBFC8Ae3y9hzJNzmZHmUYhf/iAUbIwwtM1jwupGb2dfnH/0muzoAIwPSGGvOj/xI5Ai+ 9kfLvJFm6zO3kU7VFn0SoM0jgcppybKzu729r1J6J+fyL4tYii5md8bJiFK+rCt0hOl7 LdrTqzyjsDYp9wHOPX/ESgw1A4YLXHPxAkxo3QFvNmPYhRrHGfwK3gdmjevTGWg9IxqU H2+A== X-Gm-Message-State: AOJu0YyoJ/dwWjUaFnVy0ZOH4nsbpU0WOtUJgfi3y/X8kwJtgyvB2Alo UIdtIVjnv5tYnpgQGF5empLXkMbHtCKO+1VlK2OoOCWYxNRQw/Y10r8ySwdnOTeexD3f3JBL75M 3/g== X-Google-Smtp-Source: AGHT+IHL4xGuod3l4fzZPsLC5KclCniWjLABnGGTq6pU4pLdvQ6qnipSbzWf4Ss9vVmvJDpm18P36A== X-Received: by 2002:a05:6602:6b86:b0:7e1:e022:9e46 with SMTP id ca18e2360f4ac-7f3a75faec7mr308227939f.21.1719174643058; Sun, 23 Jun 2024 13:30:43 -0700 (PDT) Received: from chromium.org (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b9d110ffb6sm1627335173.58.2024.06.23.13.30.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 13:30:42 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Alexander Gendin , Francis Laniel Subject: [PATCH 08/14] test: Make bootstd init run only on sandbox Date: Sun, 23 Jun 2024 14:30:27 -0600 Message-Id: <20240623203033.1566505-9-sjg@chromium.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240623203033.1566505-1-sjg@chromium.org> References: <20240623203033.1566505-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Tests for standard boot need disks to be set up, which can only be done on sandbox, since adjusting disks on real hardware is not currently supported. Mark the init function as sandbox-only. Signed-off-by: Simon Glass --- (no changes since v1) test/py/tests/test_ut.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/py/tests/test_ut.py b/test/py/tests/test_ut.py index c169c835e38..58205066ec8 100644 --- a/test/py/tests/test_ut.py +++ b/test/py/tests/test_ut.py @@ -470,6 +470,7 @@ def test_ut_dm_init(u_boot_console): fh.write(data) @pytest.mark.buildconfigspec('cmd_bootflow') +@pytest.mark.buildconfigspec('sandbox') def test_ut_dm_init_bootstd(u_boot_console): """Initialise data for bootflow tests"""