boot: test: Add a test for the VBE OS flow

Create two new images (vbe0 and vbe1) containing the two types of VBE-OS
setups: with and without an OEM FIT. Put this in a new img/ subdirectory
since the test_ut.py file is getting quite large.

Most of the test is in C, with just the image-setup done in Python.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-01 19:10:22 +12:00
parent 74a49fcd3d
commit 3c2f152a9b
10 changed files with 412 additions and 29 deletions

View File

@@ -12,6 +12,10 @@ import os.path
import sys
import pytest
# Bring in the U-Boot libraries
our_path = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(our_path, '../../tools'))
if __name__ == '__main__':
# argv; py.test test_directory_name user-supplied-arguments
args = [os.path.dirname(__file__) + '/tests']