Files
u-boot/test/py/tests/test_passage.py
Simon Glass 6ef903a781 passage: Add a qemu test for ARM
Check that the standard passage works on ARM, by setting it up in SPL
and making sure that it comes through correctly in U-Boot proper.

Series-changes: 2
- Add a devicetree for qemu-arm so that qemu_arm_spl can work

Series-changes: 3
- Add support for a 64-bit test also
- Add conditions to avoid enaling the test on qemu_arm_sbsa

Series-changes: 5
- Enable the test for any board which uses OF_PASSAGE

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-05-29 19:06:30 +01:00

12 lines
312 B
Python

# SPDX-License-Identifier: GPL-2.0
# Copyright 2021 Google LLC
import pytest
@pytest.mark.buildconfigspec('of_passage')
def test_passage(ubman):
"""Test that the standard passage on ARM from SPL to U-Boot works."""
response = ubman.run_command('bdinfo')
assert 'devicetree = passage' in response