diff options
author | Aristo Chen <jj251510319013@gmail.com> | 2025-07-15 13:03:07 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-23 13:12:16 -0600 |
commit | 93d09d3bd8ea941eff860443db2d8628cdbfe7e8 (patch) | |
tree | 124ec402bb724d471afa68e58e17bd5b38781b10 /drivers/fpga/fpga.c | |
parent | edb4bf38688bb232ba0739585693aa94be5246f5 (diff) |
test: fit: add test case for invalid default configuration reference
Recent changes to mkimage introduced a validation step to ensure that
the 'default' property under the /configurations node in a FIT image
references a valid configuration subnode. If the referenced node is
missing, mkimage will now return an error.
This patch adds a Python test case to verify that mkimage correctly
fails when the 'default' configuration does not exist. The test creates
a minimal ITS with an invalid default reference and checks that mkimage
produces the expected error message.
Signed-off-by: Aristo Chen <aristo.chen@canonical.com>
Diffstat (limited to 'drivers/fpga/fpga.c')
0 files changed, 0 insertions, 0 deletions