u-boot/test/py/tests
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
..
bootstd bootstd: Remove prepared images 2024-11-26 11:13:39 -06:00
test_android test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_efi_capsule test/py: Rework test_efi_capsule to not use virt-make-fs 2025-04-08 13:51:09 -06:00
test_efi_secboot test/py: Rework test_efi_secboot to not use virt-make-fs 2025-04-08 13:51:09 -06:00
test_fs test_fs: Test 'mv' command on exfat and fs_generic 2025-04-21 11:07:04 -06:00
test_semihosting test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
vboot test: py: vboot: add test for global image signature 2022-03-31 14:12:23 -04:00
fit_util.py test/py: Drop importing utils as util 2025-03-15 11:02:04 +00:00
fs_helper.py Merge patch series "Improve pytest runtime" 2025-04-08 13:54:50 -06:00
source.its test: Add test for source command 2022-12-31 13:35:19 -05:00
test_000_version.py doc: pytest: Framework for documenting tests and document test_000_version 2025-05-11 12:52:56 +02:00
test_bind.py doc: pytest: Document the test_bind test 2025-05-11 12:52:56 +02:00
test_bootmenu.py doc: pytest: Document the test_bootmenu test 2025-05-11 12:52:57 +02:00
test_bootstage.py doc: pytest: Document the test_bootstage test 2025-05-11 12:52:56 +02:00
test_button.py doc: pytest: Document the test_button test 2025-05-11 12:52:57 +02:00
test_cat.py test/py: Rework test_cat to not use virt-make-fs 2025-04-08 13:51:09 -06:00
test_cleanup_build.py test: Skip cleanup test if not built out of tree 2024-01-18 20:23:37 -05:00
test_dfu.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test_distro.py test: Add a test for booting Ubuntu 24.04 2025-04-03 11:43:22 -06:00
test_dm.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_efi_bootmgr.py test/py: Rework test_efi_bootmgr to not use virt-make-fs 2025-04-08 13:51:09 -06:00
test_efi_fit.py test/py/test_efi_fit: test fdt and initrd 2025-05-11 13:30:36 +02:00
test_efi_loader.py test: allow testing with NET_LWIP=y 2025-05-18 09:16:55 +02:00
test_efi_selftest.py test: disable TCG test on sandbox 2025-06-26 17:18:29 -06:00
test_eficonfig.py test/py: Rework test_eficonfig to not use virt-make-fs 2025-04-08 13:51:09 -06:00
test_env.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_event_dump.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_extension.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test_fit_auto_signed.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_fit_ecdsa.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_fit_hashes.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_fit_mkimage_validate.py test: fit: add test case for invalid default configuration reference 2025-07-23 13:12:16 -06:00
test_fit.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_fpga.py test: allow testing with NET_LWIP=y 2025-05-18 09:16:55 +02:00
test_gpio.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test_gpt.py test/py: tests: gpt: add test_gpt_write_part_type 2025-06-17 17:21:36 -06:00
test_handoff.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_help.py cmd: Introduce CMD_HELP 2025-07-08 15:00:17 +02:00
test_i2c.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_kconfig.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_log.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_lsblk.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_md.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test_mdio.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_memtest.py test/py: memtest: Fix test for non-trivial parameters 2025-04-10 11:57:59 -06:00
test_mii.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_mmc_rd.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test_mmc_wr.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test_mmc.py test/py/test_mmc: wrap multi-argument printf-style strings 2025-06-27 10:02:19 -06:00
test_net_boot.py test: test_net_boot: Add more comments 2025-05-11 12:52:56 +02:00
test_net.py test: allow testing with NET_LWIP=y 2025-05-18 09:16:55 +02:00
test_of_migrate.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_ofplatdata.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_optee_rpmb.py test/py: Drop importing utils as util 2025-03-15 11:02:04 +00:00
test_part.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_pinmux.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test_pstore_data_console.hex test: Add PStore command tests 2020-10-14 11:16:34 -04:00
test_pstore_data_panic1.hex test: Add PStore command tests 2020-10-14 11:16:34 -04:00
test_pstore_data_panic2.hex test: Add PStore command tests 2020-10-14 11:16:34 -04:00
test_pstore.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test_qfw.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_reset.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_sandbox_exit.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_sandbox_opts.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_saveenv.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_scp03.py test/py: Drop importing utils as util 2025-03-15 11:02:04 +00:00
test_scsi.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_sf.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test_shell_basics.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_sleep.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_smbios.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_source.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_spi.py test/py: spi: Prevent to overwrite the reserved memory 2025-04-24 08:23:05 -06:00
test_spl.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_stackprotector.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_suite.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_tpm2.py test: tpm: Skip failing tests on coral 2025-06-10 19:35:58 +03:00
test_trace.py common: board: make initcalls static 2025-04-14 08:59:39 -06:00
test_ums.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test_unknown_cmd.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_upl.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_usb.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test_ut.py Merge patch series "Improve pytest runtime" 2025-04-08 13:54:50 -06:00
test_vbe_vpl.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_vbe.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_vboot.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_vpl.py test/py: Drop assigning ubman to cons 2025-03-15 11:47:04 +00:00
test_xxd.py test/py: Rework test_xxd to not use virt-make-fs 2025-04-08 13:51:09 -06:00
test_zynq_secure.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test_zynqmp_rpu.py test/py: Shorten u_boot_console 2025-03-15 10:38:38 +00:00
test_zynqmp_secure.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
vboot_evil.py test: Correct pylint errors 2022-03-02 10:28:12 -05:00
vboot_forge.py fit: Don't allow verification of images with @ nodes 2021-02-15 19:17:25 -05:00