]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
test: fit: Drop the fit_signature buildconfigspec
authorSimon Glass <sjg@chromium.org>
Mon, 13 Apr 2026 12:59:52 +0000 (06:59 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 22 Apr 2026 22:52:14 +0000 (16:52 -0600)
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@chromium.org>
test/py/tests/test_fit.py

index 619f73153a077b164d72f5ba174e63c8db88775f..71c98be27cf6f1536f15f606318b41789ea2a9e0 100755 (executable)
@@ -116,7 +116,7 @@ host save hostfs 0 %(loadables2_addr)x %(loadables2_out)s %(loadables2_size)x
 '''
 
 @pytest.mark.boardspec('sandbox')
-@pytest.mark.buildconfigspec('fit_signature')
+@pytest.mark.buildconfigspec('fit')
 @pytest.mark.requiredtool('dtc')
 def test_fit(ubman):
     def make_fname(leaf):