From: "Vincent Stehlé" <vincent.stehle@arm.com>
To: u-boot@lists.u-boot-project.org
Cc: "Heinrich Schuchardt" <xypron.glpk@gmx.de>,
"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
"Tom Rini" <trini@konsulko.com>,
"Quentin Schulz" <quentin.schulz@cherry.de>,
"Shantur Rathore" <i@shantur.com>,
"Dario Binacchi" <dario.binacchi@amarulasolutions.com>,
"Marek Vasut" <marek.vasut+renesas@mailbox.org>,
"Vincent Stehlé" <vincent.stehle@arm.com>
Subject: [PATCH v2 4/5] test/py: add 2.2-2.4 ECPT tests
Date: Mon, 21 Sep 2026 15:12:20 +0200 [thread overview]
Message-ID: <20260921-conform-v2-4-daeb00359af9@arm.com> (raw)
In-Reply-To: <20260921-conform-v2-0-daeb00359af9@arm.com>
Add three more ECPT tests to verify the EBBR 2.[234] conformance
profiles entries with the "efidebug ecpt" command.
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Cc: Tom Rini <trini@konsulko.com>
---
test/py/tests/test_efi_ecpt.py | 48 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/test/py/tests/test_efi_ecpt.py b/test/py/tests/test_efi_ecpt.py
index 632a6b90bad..5f6dc2b74dc 100644
--- a/test/py/tests/test_efi_ecpt.py
+++ b/test/py/tests/test_efi_ecpt.py
@@ -40,3 +40,51 @@ def test_efi_ecpt_ebbr_2_1(ubman) -> None:
response = ubman.run_command('efidebug ecpt')
assert ('cce33c35-74ac-4087-bce7-8b29b02eeb27 '
'EFI EBBR 2.1 Conformance Profile') in response
+
+
+@pytest.mark.buildconfigspec('cmd_efidebug')
+@pytest.mark.buildconfigspec('efi_ecpt')
+@pytest.mark.buildconfigspec('efi_ebbr_2_2_conformance')
+def test_efi_ecpt_ebbr_2_2(ubman) -> None:
+ """ Unit test for the ECPT, with EBBR 2.2 profile
+ This test uses the efidebug ecpt command to dump the ECPT and check that
+ the EBBR 2.2 conformance profile is there.
+
+ Args:
+ ubman -- U-Boot console
+ """
+ response = ubman.run_command('efidebug ecpt')
+ assert ('9073eed4-e50d-11ee-b8b0-8b68da62fc80 '
+ 'EFI EBBR 2.2 Conformance Profile') in response
+
+
+@pytest.mark.buildconfigspec('cmd_efidebug')
+@pytest.mark.buildconfigspec('efi_ecpt')
+@pytest.mark.buildconfigspec('efi_ebbr_2_3_conformance')
+def test_efi_ecpt_ebbr_2_3(ubman) -> None:
+ """ Unit test for the ECPT, with EBBR 2.3 profile
+ This test uses the efidebug ecpt command to dump the ECPT and check that
+ the EBBR 2.3 conformance profile is there.
+
+ Args:
+ ubman -- U-Boot console
+ """
+ response = ubman.run_command('efidebug ecpt')
+ assert ('7721fc77-a724-11ef-8eaa-f7c9b194ba75 '
+ 'EFI EBBR 2.3 Conformance Profile') in response
+
+
+@pytest.mark.buildconfigspec('cmd_efidebug')
+@pytest.mark.buildconfigspec('efi_ecpt')
+@pytest.mark.buildconfigspec('efi_ebbr_2_4_conformance')
+def test_efi_ecpt_ebbr_2_4(ubman) -> None:
+ """ Unit test for the ECPT, with EBBR 2.4 profile
+ This test uses the efidebug ecpt command to dump the ECPT and check that
+ the EBBR 2.4 conformance profile is there.
+
+ Args:
+ ubman -- U-Boot console
+ """
+ response = ubman.run_command('efidebug ecpt')
+ assert ('f2bb0422-da8e-11f0-a67b-1be220854098 '
+ 'EFI EBBR 2.4 Conformance Profile') in response
--
2.53.0
next prev parent reply other threads:[~2026-09-21 13:12 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 15:01 [PATCH 0/5] efi: ECPT EBBR conformance profiles Vincent Stehlé
2026-09-04 15:01 ` [PATCH 1/5] efi_loader: adjust EBBR 2.1 ECPT entry Vincent Stehlé
2026-09-17 16:04 ` Ilias Apalodimas
2026-09-18 12:35 ` Vincent Stehlé
2026-09-18 12:58 ` Ilias Apalodimas
2026-09-04 15:01 ` [PATCH 2/5] efi_loader: add EBBR 2.2-2.4 ECPT entries Vincent Stehlé
2026-09-17 16:00 ` Ilias Apalodimas
2026-09-04 15:01 ` [PATCH 3/5] lib: uuid: add EBBR 2.2-2.4 conformance profile GUIDs Vincent Stehlé
2026-09-04 15:01 ` [PATCH 4/5] test/py: add 2.2-2.4 ECPT tests Vincent Stehlé
2026-09-17 16:04 ` Ilias Apalodimas
2026-09-04 15:01 ` [PATCH 5/5] doc: uefi: EBBR conformance profiles Vincent Stehlé
2026-09-17 16:02 ` Ilias Apalodimas
2026-09-21 13:12 ` [PATCH v2 0/5] efi: ECPT " Vincent Stehlé
2026-09-21 13:12 ` [PATCH v2 1/5] efi_loader: adjust EBBR 2.1 ECPT entry Vincent Stehlé
2026-10-02 11:23 ` Ilias Apalodimas
2026-09-21 13:12 ` [PATCH v2 2/5] efi_loader: add EBBR 2.2-2.4 ECPT entries Vincent Stehlé
2026-10-02 11:24 ` Ilias Apalodimas
2026-10-11 7:24 ` Heinrich Schuchardt
2026-09-21 13:12 ` [PATCH v2 3/5] lib: uuid: add EBBR 2.2-2.4 conformance profile GUIDs Vincent Stehlé
2026-10-02 11:21 ` Ilias Apalodimas
2026-09-21 13:12 ` Vincent Stehlé [this message]
2026-09-21 13:12 ` [PATCH v2 5/5] doc: uefi: EBBR conformance profiles Vincent Stehlé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260921-conform-v2-4-daeb00359af9@arm.com \
--to=vincent.stehle@arm.com \
--cc=dario.binacchi@amarulasolutions.com \
--cc=i@shantur.com \
--cc=ilias.apalodimas@linaro.org \
--cc=marek.vasut+renesas@mailbox.org \
--cc=quentin.schulz@cherry.de \
--cc=trini@konsulko.com \
--cc=u-boot@lists.u-boot-project.org \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox