From patchwork Mon Dec 29 21:43:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1109 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767044624; bh=LWDvyQw4Lt21QlCcSWb4epSZsSrbbNVlPY4/gBv7BBs=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=MmaA8/i84pPP1N3ixBDv4CxFnlGcciIuwDL7Y1bbopDZTZI04b4oUfWX/O7v2xTzE 44jl9WYqqX4+GK7NkEkHvHjrVp9J6QKxqsKqbFKK5AGlr9sVy71UcwhtjRDSXgAr+d ZnhndY0WwfBcXN2vS/eZuL+P7UjSNih70VPCnUsmiRvQ0nFalaYrI2k19ZqVTDURUc RL37f1yqLt3DMr8fSv0FtkJxKmPhRA9pydRpVzQNNSmYKQNspJDSKNP2ju5Oc8oAwd gEfMPR05hW/D8wGx6LdWYeIkBISdZvsn9CKPDWft3V7BhtAmr/OyFxYhrP5EVrVn5y 17tv182UjPlnw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 3D5E968CAD for ; Mon, 29 Dec 2025 14:43:44 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id kXFLVFeORyTE for ; Mon, 29 Dec 2025 14:43:44 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767044624; bh=LWDvyQw4Lt21QlCcSWb4epSZsSrbbNVlPY4/gBv7BBs=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=MmaA8/i84pPP1N3ixBDv4CxFnlGcciIuwDL7Y1bbopDZTZI04b4oUfWX/O7v2xTzE 44jl9WYqqX4+GK7NkEkHvHjrVp9J6QKxqsKqbFKK5AGlr9sVy71UcwhtjRDSXgAr+d ZnhndY0WwfBcXN2vS/eZuL+P7UjSNih70VPCnUsmiRvQ0nFalaYrI2k19ZqVTDURUc RL37f1yqLt3DMr8fSv0FtkJxKmPhRA9pydRpVzQNNSmYKQNspJDSKNP2ju5Oc8oAwd gEfMPR05hW/D8wGx6LdWYeIkBISdZvsn9CKPDWft3V7BhtAmr/OyFxYhrP5EVrVn5y 17tv182UjPlnw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2B30268B7A for ; Mon, 29 Dec 2025 14:43:44 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767044622; bh=YiBm5rTFzHAu0lMthFnQV2VyR6Sp45jFu9MSl+LqFdA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=URF2jlMzNVxh/igU2J5Ny0SserCKLvB0zKIVibBDsnl3oFLDhE8TniEBnwntHrlDD ab3ByobbOG+A5jpJGprsrJUtf4NsDi/i/h9WO7Yf1veNy89k8ok0MDMmVaK7itqwNB 87zU3zW9KweyCUtvsC49Mmm4Nsx+j5NrAk0HfKahgj2xPXz01BvTrKFZw5SgqnSCBn 3cJABoMsLn50E2V4GVQFTnYeSFk+la6WYAHDhx2Y86x9LsFU1zvuRUU4b9J3Uel+in 2eifHqmSDLxLkn7QHoMi6L7RSr7vjORj++ZJbFTNIS6ORdyqwGVmItjzXN3h9S/SNU nyxbwwYqYHkJQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2749C64E25; Mon, 29 Dec 2025 14:43:42 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id XlfwVPG8O0mD; Mon, 29 Dec 2025 14:43:42 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767044617; bh=9tht45j81XGwJzzntqGkLxri0Ft447XwF25jKgpxtWc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ebGW5P+nMM4ngN/HihEToPnBpFRnrFHVrpNsUK+uXZr8QZH181SQZhlenGYDFZbfS /QFiTx0Qh3S0MI+lEIKK4yHMKOLizlF6TaoA1hnfmjNyoWtjol8c+AqmfzQ1NJzrhQ QNaiFJLTrkVhswhM7k6tXZOWxXu8WyuBUzmfqvHvjkuRDfrn/opAh7DxUSkqq86mih mNDEb1pBTPI6ZWCViDuoyOWjvmzPX/aEPshXH44ZYiebU4MT8sJAN4aAnuTJHZ9+pd 3/77CSQjO9yhFHHsBA98kqkvh7TgaGd2yfVGMojN2TldwCSrsQqNfywsH0imdySqBP qgATfXKGZxm9w== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 97F8064C8A; Mon, 29 Dec 2025 14:43:37 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Mon, 29 Dec 2025 14:43:17 -0700 Message-ID: <20251229214319.237565-3-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251229214319.237565-1-sjg@u-boot.org> References: <20251229214319.237565-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: E6HQPMIEBXOF4PNRG6S3PDG2FCEDXWD5 X-Message-ID-Hash: E6HQPMIEBXOF4PNRG6S3PDG2FCEDXWD5 X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , "Claude Opus 4 . 5" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 2/2] test: py: Use run_ut() helper for vbe_test_fixup List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Split the base_script to separate the ut command from the U-Boot command sequence. This allows using run_ut() for the vbe_test_fixup test, reducing duplication and improving consistency. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- test/py/tests/test_vbe.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/py/tests/test_vbe.py b/test/py/tests/test_vbe.py index 411ed429605..5b1fb52d824 100644 --- a/test/py/tests/test_vbe.py +++ b/test/py/tests/test_vbe.py @@ -87,7 +87,6 @@ bootm loados bootm prep fdt addr fdt print -ut -f bootstd vbe_test_fixup_norun ''' @pytest.mark.boardspec('sandbox') @@ -117,9 +116,9 @@ def test_vbe_os_request(ubman): cmd = base_script % params with ubman.log.section('Kernel load'): - output = ubman.run_command_list(cmd.splitlines()) + ubman.run_command_list(cmd.splitlines()) - assert 'failures: 0' in output[-1] + ubman.run_ut('bootstd', 'vbe_test_fixup') @pytest.mark.boardspec('sandbox') def test_vbe_extlinux_fit_no_oem(ubman):