u-boot/test/py
Mattijs Korpershoek c2a2a06e01 bootstd: Add test for bootmeth_android
Add a unit test for testing the Android bootmethod.

This requires another mmc image (mmc7) to contain the following partitions:
- misc: contains the Bootloader Control Block (BCB)
- boot_a: contains a fake generic kernel image
- vendor_boot_a: contains a fake vendor_boot image

Also add BOOTMETH_ANDROID as a dependency on sandbox so that we can test
this with:

$ ./test/py/test.py --bd sandbox --build -k test_ut # build the mmc7.img
$ ./test/py/test.py --bd sandbox --build -k bootflow_android

Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Julien Masson <jmasson@baylibre.com>
Reviewed-by: Guillaume La Roque <glaroque@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2024-07-18 13:51:30 -06:00
..
tests bootstd: Add test for bootmeth_android 2024-07-18 13:51:30 -06:00
.gitignore
conftest.py test: Support tests which can only be run manually 2022-10-31 11:02:44 -04: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 marked single-threaded only 2022-09-12 18:06:36 -04:00
requirements.txt doc/sphinx, test/py: Update requests module to 2.32.2 2024-06-10 15:05:30 +02:00
test.py test: remove unused import from pkg_resources 2024-04-12 08:53:31 -06:00
u_boot_console_base.py test/py: Add support to enable check for bad pattern 2024-06-13 16:31:20 -06:00
u_boot_console_exec_attach.py test: fix pylint error in u_boot_console_exec_attach.py 2021-11-26 22:02:37 +01:00
u_boot_console_sandbox.py test: Decode exceptions only with sandbox 2024-07-04 09:25:21 -06:00
u_boot_spawn.py test: Decode exceptions only with sandbox 2024-07-04 09:25:21 -06:00
u_boot_utils.py test: Add a way to set the environment for a pytest 2023-02-14 09:43:27 -07:00