
On Sat, 10 Dec 2022 at 01:10, Max Krummenacher max.oss.09@gmail.com wrote:
From: Max Krummenacher max.krummenacher@toradex.com
Checks that `make u-boot-initial-env` creates the text file u-boot-initial-env and checks that it at least contains `board=<something>`.
Signed-off-by: Max Krummenacher max.krummenacher@toradex.com
Changes in v1: I assume every board has a board environment variable but I don't test its value. I.e. the test succseeds even if a board sets it to some arbitrary string at build time.
Tested only with 'sandbox'.
As proposed by Simon, see https://lore.kernel.org/all/CAPnjgZ0V_Fdj9EvzD1hOYa7VqeptsueAuPj5ktYa7owO1qr... Thanks for the pointers tn where to add and where to look for a host test example. This was very helpful.
test/py/tests/test_env.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
Nice
Reviewed-by: Simon Glass sjg@chromium.org