mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 00:47:26 +00:00
89a5317ae2
Fix test_mmc_dev(), test_mmc_rescan(), test_mmc_info() not to use the same configuration data that test_mmc_rd() does. Doing so causes the following issues: * The new code uncondtionally expects certain keys to exist in the configuration data. These keys do not exist in existing configuration data since they were not previously required, and there was no notification re: a requirement to add these new keys. This causes test failures due to thrown exceptions when accessing the non-existent keys. * The new tests logically operate on different objects. test_mmc_rd() operates on ranges of sectors on an MMC device (which may be the entire set of sectors of a device, or a part of a device), whereas all the new tests operate solely on entire devices. These are separate things, and it's entirely likely that the user will wish to runs the two types of tests on different sets of data; see the example configuration data that this commit adds. Ideally, the new tests would have been added to a separate Python file, since they aren' closely related to the existing tests. FIXME: Marek, can you please replace the "???" in this patch with some reasonable looking data? Thanks. Cc: Marek Vasut <marek.vasut@gmail.com> Fixes: |
||
---|---|---|
.. | ||
test_fs | ||
vboot | ||
test_000_version.py | ||
test_avb.py | ||
test_bind.py | ||
test_dfu.py | ||
test_efi_loader.py | ||
test_efi_selftest.py | ||
test_env.py | ||
test_fit.py | ||
test_fpga.py | ||
test_gpt.py | ||
test_handoff.py | ||
test_help.py | ||
test_hush_if_test.py | ||
test_log.py | ||
test_md.py | ||
test_mmc_rd.py | ||
test_net.py | ||
test_ofplatdata.py | ||
test_pinmux.py | ||
test_sandbox_exit.py | ||
test_sf.py | ||
test_shell_basics.py | ||
test_sleep.py | ||
test_tpm2.py | ||
test_ums.py | ||
test_unknown_cmd.py | ||
test_ut.py | ||
test_vboot.py |