]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
test: disable TCG test on sandbox
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 17 Jun 2025 06:19:44 +0000 (08:19 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 26 Jun 2025 23:18:29 +0000 (17:18 -0600)
The TPM emulation on the sandbox is incomplete.
Even basic tcg2 functionality like get_capability() fails:

    lib/efi_selftest/efi_selftest_tcg2.c(886):
    ERROR: get_manufacturer_id buffer too small failed

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
test/py/tests/test_efi_selftest.py

index 12cbe5caa9b017ca8755b4c81b7835ebf991b174..58dac72fd4029d6b906703a1f6b8790add9c9c85 100644 (file)
@@ -179,6 +179,7 @@ def test_efi_selftest_text_input_ex(ubman):
 
 @pytest.mark.buildconfigspec('cmd_bootefi_selftest')
 @pytest.mark.buildconfigspec('efi_tcg2_protocol')
+@pytest.mark.notbuildconfigspec('sandbox')
 def test_efi_selftest_tcg2(ubman):
     """Test the EFI_TCG2 PROTOCOL