From patchwork Sat Mar 14 23:16:05 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1987 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=1773530272; bh=AQmJietZcml71NRWxiUf9sZ9+eGSJO1DfjLD3MRVoaE=; 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=m+I3vybReceUHTwy70FUktsWbImvcKgIUNleUqWtkIlJj6PNQwM5ii8oVaA7PKLNf jl47yVF4lOPKjkmC/LUNyFlfpbR+rjUbSM+8Qxnm/qsogRTYyEc37vN+oAoR2AUR0E 3pw39uoI6Bj+dLhDnHzV3rMm0dWAVX9ESGoXRFbdxKdhchP2GUbp7iKINn/Y7ofFOt KRxaF/1gZJlBn6NJ2jSar9K3hJyLxnwjveoTexObmDUdCBgfJZSnGLwUbt22AfhlnS E8Hc/k0IUGMRHPcxFnASpvo/mJ+55EupT3t6UPO555e8X+41I6BxzuNHoJBt/az52d /XD08LStodS2A== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 67EB66A054 for ; Sat, 14 Mar 2026 17:17:52 -0600 (MDT) 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 Aptn73LNPJwz for ; Sat, 14 Mar 2026 17:17:52 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1773530270; bh=AQmJietZcml71NRWxiUf9sZ9+eGSJO1DfjLD3MRVoaE=; 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=cwLAjDOi2Sn14VruIZns2Mbokw+2AxrZB3S2RQotNzmcaU6ktnSyFma031aogES7O tv+/rpMhAXVIlm9zrxToUYO41E7rBO8zzHiHFKCMbuHT1gvseki8EEgFia9hIyeKVn MP1MxM2izYVuJLNkF3rkE/vb1FL3pXWSFzkz9M+Z9E1//0l2McEhdDTogeipjaOOZ7 g0z3Zy3KWpoMvVzEgqFVZs6EvHB2oQ7Aidpzw22BO4iELMXQMNssF6MwCo25voAUUO i5eomggUYGRNCLwm3p+IdaA9W7NWaLq1tCNJz6BRRIVOqlh5owSyZ+Ay5QukbOiXX/ 0MsHzZa4dSG0Q== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 870576A058 for ; Sat, 14 Mar 2026 17:17:50 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1773530264; bh=EpGMmDEO8o2Gu5MqccqoDno83cLnxsvZ2djzhqStBMs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wpunPL6per5I4fG5wG7NWJp+ZzduwKHS3UJJwK9ZbX3yYmmryz8vWKPy3pP3faNP2 5Y7byxdkwafrkoTRpY43I2TOb+JJefRxZEfWw6yoW0z6ubTQoBdtHMyppIa2OtAlVH 8PaYIDeHzdg7E3PV5rSfkSejUtOJhiTLYS7JEp1XhC2xzB0e6DiVIEjNNgUz3vQzG3 3BgvzDWXxDpanThwHdeKQ8KLeEnT7QtaTb+N4tHShiqQPyKQfTQJc3N9w6X582BdOQ xQgz/s1Q7CMbASTYV1cSjANkiH6pRwI7yJNtEvO4hhxMMcH//PaK7Q4N/2YItL8vga bdxzmOBhX10wQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 42F716A036; Sat, 14 Mar 2026 17:17:44 -0600 (MDT) 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 EEm97DAhFYAE; Sat, 14 Mar 2026 17:17:44 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1773530263; bh=sSfOMttqUBBEj+lxdpn/blmojpqDAiwuGRT7cXZ+GWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o/E2iFRBWJhhvRpdPkmWx61LQT0Ib97AOJxNzFLjKiFl86tb24BXRu7h+o2yuqbDK VmjaEcG+JKuPwf/W1b7/mAmIrSYn7DE9Bb7UdF09zthKzW9ZG9TZIc+ctmuSC3QBy6 7/yOdS5gOVeNMciAqaQsr5tuuDh1ksONO9zCdszY9WFQTM5o6EMJGbml/9a+Znk/id 29PNG4fLComKS6KXic4t7HTw+3HRk5DcZJ3p4E3ie15hkTXrrWrnf2+oCYjII4eyYR WRZ1w/KPeBkAeh862zzP4Lr6hvSxRWrdlmIQGGImt9MA/Im0MvMD7q8nHfoSmwVGl2 JeLYNx+dcY7KQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id F0EC26A033; Sat, 14 Mar 2026 17:17:42 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Sat, 14 Mar 2026 17:16:05 -0600 Message-ID: <20260314231618.338113-15-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260314231618.338113-1-sjg@u-boot.org> References: <20260314231618.338113-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: FWMBXH55FGMIPBJUH6JOHXDNAB6KTDVY X-Message-ID-Hash: FWMBXH55FGMIPBJUH6JOHXDNAB6KTDVY 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 X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 14/19] test: py: Mark slow EFI selftest tests 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 These three tests take a long time to run (2-8s each) due to the interactive nature of the EFI selftest framework and the U-Boot restart they perform: 8.4s test_efi_selftest_text_input_ex 7.4s test_efi_selftest_text_input 2.4s test_efi_selftest_base Mark them as slow so they can be excluded with '-k not slow'. Signed-off-by: Simon Glass --- test/py/tests/test_efi_selftest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py index 2a959ae3406..ef1301f620e 100644 --- a/test/py/tests/test_efi_selftest.py +++ b/test/py/tests/test_efi_selftest.py @@ -7,6 +7,7 @@ import pytest @pytest.mark.buildconfigspec('cmd_bootefi_selftest') +@pytest.mark.slow @pytest.mark.restart def test_efi_selftest_base(ubman): """Run UEFI unit tests @@ -64,6 +65,7 @@ def test_efi_selftest_watchdog_reboot(ubman): ubman.run_command(cmd='', send_nl=False, wait_for_reboot=True) @pytest.mark.buildconfigspec('cmd_bootefi_selftest') +@pytest.mark.slow @pytest.mark.restart def test_efi_selftest_text_input(ubman): """Test the EFI_SIMPLE_TEXT_INPUT_PROTOCOL @@ -120,6 +122,7 @@ def test_efi_selftest_text_input(ubman): ubman.restart_uboot() @pytest.mark.buildconfigspec('cmd_bootefi_selftest') +@pytest.mark.slow @pytest.mark.restart def test_efi_selftest_text_input_ex(ubman): """Test the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL