u-boot/test/py
Aristo Chen 93d09d3bd8 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>
2025-07-23 13:12:16 -06:00
..
tests test: fit: add test case for invalid default configuration reference 2025-07-23 13:12:16 -06:00
.gitignore test/py: Implement pytest infrastructure 2016-01-20 19:06:23 -07:00
conftest.py test/py: Correct handling of exceptions 2025-06-12 11:32:29 -06:00
console_base.py test/py: Add a helper to send characters 2025-04-03 11:41:55 -06:00
console_board.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
console_sandbox.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
multiplexed_log.css SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
multiplexed_log.py test: Add a way to set the environment for a pytest 2023-02-14 09:43:27 -07:00
pytest.ini test/py: Allow tests to be filtered by role 2025-04-03 11:41:55 -06:00
requirements.txt test_fs: Add exfat tests 2025-04-02 20:00:59 -06:00
spawn.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test.py test: remove unused import from pkg_resources 2024-04-12 08:53:31 -06:00
utils.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00