From patchwork Fri Feb 20 21:32:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1919 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=1771623186; bh=rRkpWBPdSzrRquToUDGF5UIhhiu1AyW4+w3qNiLf4Fs=; 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=GfV0cPZVSh5ZF3jKKfqs5x+Ej8O9O8U+3s8/5G0WcCJmDIS36EC3+WQvof/c3wbBH u3Bnmelc648x01SXLZFuKsUVwA+6sSUQrLhUy1y+d25o9xKR12u58+UqZuO8BShd4Q y3WVafUf+5N96QJ9jsIHUELCJvJrA3aRN04wf0u1VZ4Lb1se9CMyFV+0EAfU17ij0H UA1Yljox85Rto7OznNQZkg7kG9Y+5zOZICNSJJQGjhajVghSGUg7M9M/snxiGh4YaB KVI2A7M4MxNkP+LSj+cU40TDeOIKej+2KDebN3I4PveVXKD5bSl52tQ/z1QENE0m42 r2yz9bFmeQpGw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id ACA5B69CCA for ; Fri, 20 Feb 2026 14:33:06 -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 e6R2gn34FCd9 for ; Fri, 20 Feb 2026 14:33:06 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771623186; bh=rRkpWBPdSzrRquToUDGF5UIhhiu1AyW4+w3qNiLf4Fs=; 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=GfV0cPZVSh5ZF3jKKfqs5x+Ej8O9O8U+3s8/5G0WcCJmDIS36EC3+WQvof/c3wbBH u3Bnmelc648x01SXLZFuKsUVwA+6sSUQrLhUy1y+d25o9xKR12u58+UqZuO8BShd4Q y3WVafUf+5N96QJ9jsIHUELCJvJrA3aRN04wf0u1VZ4Lb1se9CMyFV+0EAfU17ij0H UA1Yljox85Rto7OznNQZkg7kG9Y+5zOZICNSJJQGjhajVghSGUg7M9M/snxiGh4YaB KVI2A7M4MxNkP+LSj+cU40TDeOIKej+2KDebN3I4PveVXKD5bSl52tQ/z1QENE0m42 r2yz9bFmeQpGw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 978AD69CB2 for ; Fri, 20 Feb 2026 14:33:06 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771623184; bh=W+xyPV4inbesQhfAif/y1nubM+Y8DflkLWChL8KlYSg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dst++CZWXBZ4WaysHs1/hddr1amY4nqiHlIQWjefnVnVPHRO/8HV89X5BBRYfJ7Jt t3d0k4xQhoHopcSS4MvfnhVnMpXdjuPW4yKdwgpXdI2Ry0NSbQf1HBQFuS7kL1wNxI GBZ2UugyXhYK+VAqdguSEUB+ec+OFG6SkSTRQ5iGkbfT7IuVFIyetlZDCswnyFOwYR 3eoHG+VMUEZ9a4sRFwLoCZY6Ws/stlIpa524+Sy6ZlwRUKym9fn8OoHvWq2i2RnVLq QrRSHeXLcCQ8uv/iTnENx3H5UVP24yH9WcvN7fksG6/Oauo+84HJN4bPgGHYNkq/5s qOpKmEZj/Jchg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 5D38269CCA; Fri, 20 Feb 2026 14:33:04 -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 1PU_ftT3flWf; Fri, 20 Feb 2026 14:33:04 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771623179; bh=kAt0Eg6F6Y5i2GGCl8/7JshoE2bjNE8qD3klHf8v+uA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qORnLut3J0eauaNWOtT24vMunFylhtKu395/PBQfm67LyPiM06gN0hrsD2v7W7hq2 PGHYIdOzzsRCc0gyQrejyoh2+QacZrau3jOrDFyH63DN7ZQ6R5EIRyO6syqy0MlYJ0 EvnhUOGe9qHxfZak1K+B2x+MmQPl2LaDzzTqDkRWWtZSjhq9woRdwwbcvawvw6684N 2XP09BKM8WcDL3WVhbhRC23bx8+ktfid12mvaoOPzyVG7Zah+TE4BwhZDKD3cY0YQw 9cTHWzGeo/x678S6yqiqv0YJVPNQt1S9fwT0pMz3oYEyPTIxs/gk8HfBl88Au8I6G/ a6ABSRhdS/cMw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 5847969CB2; Fri, 20 Feb 2026 14:32:59 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Fri, 20 Feb 2026 14:32:29 -0700 Message-ID: <20260220213235.2112347-5-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260220213235.2112347-1-sjg@u-boot.org> References: <20260220213235.2112347-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: ECY3235CDEF4JWC4GBCVPV7JEQ7ABZB2 X-Message-ID-Hash: ECY3235CDEF4JWC4GBCVPV7JEQ7ABZB2 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: Heinrich Schuchardt , Simon Glass , "Claude Opus 4 . 6" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 4/6] test: Skip localqemu tests on EFI app boards 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 The localqemu tests launch their own standalone QEMU instance, which is not compatible with EFI app boards that must boot through UEFI firmware. Add notbuildconfigspec('efi_app') to all localqemu tests so they are automatically skipped when CONFIG_EFI_APP is enabled. The skip is done per-test rather than in conftest.py since these particular tests are not relevant to the EFI app, regardless of whether they use local QEMU. Co-developed-by: Claude Opus 4.6 Signed-off-by: Simon Glass --- test/py/tests/test_ulib.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/py/tests/test_ulib.py b/test/py/tests/test_ulib.py index f4234253b7d..f06075d9e20 100644 --- a/test/py/tests/test_ulib.py +++ b/test/py/tests/test_ulib.py @@ -279,6 +279,7 @@ def run_x86_rom_demo(ubman, qemu_binary): assert_demo_output(out) @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('qemu-x86') @pytest.mark.buildconfigspec("examples") def test_ulib_demo_rom(ubman): @@ -286,6 +287,7 @@ def test_ulib_demo_rom(ubman): run_x86_rom_demo(ubman, 'qemu-system-i386') @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('qemu-x86_64_nospl') @pytest.mark.buildconfigspec("examples") def test_ulib_demo_rom_64(ubman): @@ -316,6 +318,7 @@ def run_x86_rom_rust_demo(ubman, qemu_binary): assert_demo_output(out) @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('qemu-x86') @pytest.mark.buildconfigspec("rust_examples") def test_ulib_rust_demo_rom(ubman): @@ -323,6 +326,7 @@ def test_ulib_rust_demo_rom(ubman): run_x86_rom_rust_demo(ubman, 'qemu-system-i386') @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('qemu-x86_64_nospl') @pytest.mark.buildconfigspec("rust_examples") def test_ulib_rust_demo_rom_64(ubman): @@ -386,6 +390,7 @@ def run_bios_rust_demo(ubman, qemu_binary, extra_qemu_args=None): assert_demo_output(out) @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('qemu_arm64') @pytest.mark.buildconfigspec("examples") def test_ulib_demo_arm64(ubman): @@ -393,6 +398,7 @@ def test_ulib_demo_arm64(ubman): run_bios_demo(ubman, 'qemu-system-aarch64', ['-cpu', 'cortex-a57']) @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('qemu_arm64') @pytest.mark.buildconfigspec("rust_examples") def test_ulib_rust_demo_arm64(ubman): @@ -400,6 +406,7 @@ def test_ulib_rust_demo_arm64(ubman): run_bios_rust_demo(ubman, 'qemu-system-aarch64', ['-cpu', 'cortex-a57']) @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('qemu-riscv64') @pytest.mark.buildconfigspec("examples") def test_ulib_demo_riscv64(ubman): @@ -407,6 +414,7 @@ def test_ulib_demo_riscv64(ubman): run_bios_demo(ubman, 'qemu-system-riscv64') @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('qemu-riscv64') @pytest.mark.buildconfigspec("rust_examples") def test_ulib_rust_demo_riscv64(ubman): @@ -508,6 +516,7 @@ def run_efi_rust_demo(ubman, qemu_binary, fw_code, fw_vars, assert_demo_output(out) @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('efi-x86_app64') @pytest.mark.buildconfigspec("examples") def test_ulib_demo_efi_x86(ubman): @@ -517,6 +526,7 @@ def test_ulib_demo_efi_x86(ubman): '/usr/share/OVMF/OVMF_VARS_4M.fd') @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('efi-x86_app64') @pytest.mark.buildconfigspec("rust_examples") def test_ulib_rust_demo_efi_x86(ubman): @@ -526,6 +536,7 @@ def test_ulib_rust_demo_efi_x86(ubman): '/usr/share/OVMF/OVMF_VARS_4M.fd') @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('efi-arm_app64') @pytest.mark.buildconfigspec("examples") def test_ulib_demo_efi_arm64(ubman): @@ -535,6 +546,7 @@ def test_ulib_demo_efi_arm64(ubman): ['--machine', 'virt', '-cpu', 'max']) @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('efi-arm_app64') @pytest.mark.buildconfigspec("rust_examples") def test_ulib_rust_demo_efi_arm64(ubman): @@ -544,6 +556,7 @@ def test_ulib_rust_demo_efi_arm64(ubman): ['--machine', 'virt', '-cpu', 'max']) @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('efi-riscv_app64') @pytest.mark.buildconfigspec("examples") def test_ulib_demo_efi_riscv64(ubman): @@ -554,6 +567,7 @@ def test_ulib_demo_efi_riscv64(ubman): ['--machine', 'virt']) @pytest.mark.localqemu +@pytest.mark.notbuildconfigspec('efi_app') @pytest.mark.boardspec('efi-riscv_app64') @pytest.mark.buildconfigspec("rust_examples") def test_ulib_rust_demo_efi_riscv64(ubman):