[PATCH v2 1/8] test: fit: Drop the fit_signature buildconfigspec
Simon Glass
sjg at chromium.org
Sun Apr 5 13:11:46 CEST 2026
The test_fit test requires buildconfigspec('fit_signature') but does
not exercise signature verification. The ITS template includes a
signature-1 node, but mkimage only needs TOOLS_FIT_SIGNATURE (a host
tool option) to handle it, not CONFIG_FIT_SIGNATURE in the U-Boot
binary.
Since sandbox does not enable CONFIG_FIT_SIGNATURE, the test is silently
skipped on every run. Change the marker to buildconfigspec('fit') which
is all the test actually needs.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Add new patch to fix the buildconfigspec marker
test/py/tests/test_fit.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/py/tests/test_fit.py b/test/py/tests/test_fit.py
index 619f73153a0..71c98be27cf 100755
--- a/test/py/tests/test_fit.py
+++ b/test/py/tests/test_fit.py
@@ -116,7 +116,7 @@ host save hostfs 0 %(loadables2_addr)x %(loadables2_out)s %(loadables2_size)x
'''
@pytest.mark.boardspec('sandbox')
- at pytest.mark.buildconfigspec('fit_signature')
+ at pytest.mark.buildconfigspec('fit')
@pytest.mark.requiredtool('dtc')
def test_fit(ubman):
def make_fname(leaf):
--
2.43.0
More information about the U-Boot
mailing list