Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 66DFFC433EF for ; Sat, 30 Apr 2022 06:59:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8464783F71; Sat, 30 Apr 2022 08:59:13 +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="SV4TNmR0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8102F80FEC; Sat, 30 Apr 2022 08:58:09 +0200 (CEST) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (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 D6B2D83F2E for ; Sat, 30 Apr 2022 08:58:03 +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-wr1-x42a.google.com with SMTP id i5so13284860wrc.13 for ; Fri, 29 Apr 2022 23:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oWLGWJ4NInbYhoH6PGN6rFsQHJLj0u08/6zYBl5b7fE=; b=SV4TNmR0SJIZ1eweQCMF/m6GrBnNWfLB9/kZ5I6CQE4lnV1XqfdQARSUloVHzAHake YCF6qg1hfAQ2zxWG0PSthWvMoHPmgIoK1h0FeYuJorfkm6xwLbr7GpoZuywsH+WI5v8K f+LfF0QZRtKdoTsLHmH19iTk7ztotDUAysk14= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oWLGWJ4NInbYhoH6PGN6rFsQHJLj0u08/6zYBl5b7fE=; b=wulFFqsJSTtGXdVDQrKV5Q/G3M3y/zTFVyDxI8/BNcX9vGGzZEBesDza2ZGRM1tEHS uwWfdYk0eTc3KCH8yYu5b6+XP9md/2SMgAGMc+qct/S4tu38Spe0RooG4BhbE3Ryy9U8 hV7BtxZOrF/3jgwkgVWEmK4oGJY3ML5z3jKkOhvF1KxbWB2bj/HBB2QwI4VyuSYFqfa3 5Knf26VgfAJBIqYlB/xn6X4zxHFW/F3/iOEKsEaSAAkg9EjYUOxIS8RZIxG66JHbeSzA Dupo5agBHqYKpFVYmFEOG4BQ6wLQ/zd6ltLkhGh5Ld2y7Vau8Miirlq02WhyykAGPUKi xZ8Q== X-Gm-Message-State: AOAM532HoL9fGJCNES1F3SxBpyCRgNfvlXvALUqPE8+9TCZT0E6GPrM9 uYNNSgv7FeU8BaPgnXPhjuplj7LN5BB3yA== X-Google-Smtp-Source: ABdhPJzyuSqrMH6kDUvKseXrK+P+MgkTUps5VHDTvvyz4wzoMglUydul3Sj1wDL2OgogK57seTq8+A== X-Received: by 2002:a5d:47c1:0:b0:20a:9f14:c128 with SMTP id o1-20020a5d47c1000000b0020a9f14c128mr1995744wrc.507.1651301883144; Fri, 29 Apr 2022 23:58:03 -0700 (PDT) Received: from sjg1.roam.corp.google.com (246.45-246-81.adsl-static.isp.belgacom.be. [81.246.45.246]) by smtp.gmail.com with ESMTPSA id r11-20020adfa14b000000b0020c5253d927sm1231553wrr.115.2022.04.29.23.58.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 23:58:02 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v8 12/13] vpl: Test that VPL runs correctly through to U-Boot proper Date: Sat, 30 Apr 2022 00:56:56 -0600 Message-Id: <20220430065657.310388-3-sjg@chromium.org> X-Mailer: git-send-email 2.36.0.464.gb9c8b46e94-goog In-Reply-To: <20220430065657.310388-1-sjg@chromium.org> References: <20220430065657.310388-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.5 at phobos.denx.de X-Virus-Status: Clean Check the TPL -> VPL -> SPL -> U-Boot path by running the 'help' command in U-Boot. Signed-off-by: Simon Glass --- (no changes since v1) test/py/tests/test_help.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/py/tests/test_help.py b/test/py/tests/test_help.py index 03b9d91c117..153133cf28f 100644 --- a/test/py/tests/test_help.py +++ b/test/py/tests/test_help.py @@ -20,3 +20,15 @@ def test_help_no_devicetree(u_boot_console): finally: # Restart afterward to get the normal device tree back u_boot_console.restart_uboot() + +@pytest.mark.boardspec('sandbox_vpl') +def test_vpl_help(u_boot_console): + try: + cons = u_boot_console + cons.restart_uboot() + cons.run_command('help') + output = cons.get_spawn_output().replace('\r', '') + assert 'print command description/usage' in output + finally: + # Restart afterward to get the normal device tree back + u_boot_console.restart_uboot() -- 2.36.0.464.gb9c8b46e94-goog