u-boot/test/py/tests
Stephen Warren 89a5317ae2 test/py: don't use mmc_rd config for other mmc tests
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: 4ffec8cdf5 ("test/py: mmc: Add 'mmc info' test")
Fixes: ce4b2cafa7 ("test/py: mmc: Add 'mmc rescan' test")
Fixes: 86dfd152c9 ("test/py: mmc: Add 'mmc dev' test")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
2019-05-09 19:52:55 -04:00
..
test_fs test.py: Disable fsck for FAT tests for now 2019-04-10 08:15:56 -04:00
vboot test: vboot: clean its file 2018-12-03 10:44:10 -05:00
test_000_version.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_avb.py avb: add support for named persistent values 2019-04-26 18:58:22 -04:00
test_bind.py Fix recent changes to serial API for driver model 2019-01-15 22:05:34 -05:00
test_dfu.py test: Use single quote consistently 2019-01-15 15:28:41 -05:00
test_efi_loader.py test: Use single quote consistently 2019-01-15 15:28:41 -05:00
test_efi_selftest.py efi_selftest: do not run FDT test with ACPI table. 2019-04-23 00:37:28 +02:00
test_env.py test/py: add test for whitelist of variables while importing environment 2018-07-20 15:55:09 -04:00
test_fit.py sandbox: Drop the deprecated 'sb' command 2018-11-26 08:25:35 -05:00
test_fpga.py test: py: Extend fpga test with fit image with external data 2019-04-16 11:51:34 +02:00
test_gpt.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_handoff.py spl: Add support for passing handoff info to U-Boot proper 2018-11-26 08:25:37 -05:00
test_help.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_hush_if_test.py test/py: hush_if_test: Use open() in place of file() 2018-07-10 14:50:50 -06:00
test_log.py log: Add helpers for common log levels 2018-10-09 04:40:26 -06:00
test_md.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_mmc_rd.py test/py: don't use mmc_rd config for other mmc tests 2019-05-09 19:52:55 -04:00
test_net.py test/py: use default load address for tftp 2019-02-12 07:19:24 -05:00
test_ofplatdata.py sandbox: Add an option to display of-platdata in SPL 2018-11-26 08:25:35 -05:00
test_pinmux.py test/py: test pinmux command 2018-11-16 16:51:57 -05:00
test_sandbox_exit.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_sf.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_shell_basics.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_sleep.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_tpm2.py test/py: tpm2: switch from 'tpm' to 'tpm2' command 2018-07-28 11:58:08 -04:00
test_ums.py test: Use single quote consistently 2019-01-15 15:28:41 -05:00
test_unknown_cmd.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_ut.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_vboot.py test: vboot: clean its file 2018-12-03 10:44:10 -05:00