2.1.2.1.4. tests.utils.fvp_utils
2.1.2.1.4.1. Attributes
2.1.2.1.4.2. Classes
2.1.2.1.4.3. Module Contents
- class tests.utils.fvp_utils.FvpUtils[source]
-
- check_rng(platform_base_obj, hw_random, dev)[source]
Validate RNG sysfs entry contains the expected device identifier.
- Parameters:
platform_base_obj (test_automation.utils.auto_platform_base.AutoTestPlatformBase) – Platform fixture with console access.
hw_random (str) – Path to RNG sysfs node to inspect.
dev (str) – Expected RNG device name.
- Raises:
RuntimeError – when command execution fails on the target.
- Return type:
None
- check_devices(platform_base_obj, cls, min_count, search_drivers)[source]
Validate device class population and expected driver bindings.
- Parameters:
platform_base_obj (test_automation.utils.auto_platform_base.AutoTestPlatformBase) – Platform fixture with console access.
cls (str) – Sysfs device class name.
min_count (int) – Minimum number of class devices expected.
search_drivers (list[str]) – acceptable driver names for the class devices.
- Raises:
AssertionError – If device count is below minimum or no expected driver is found.
- Return type:
None