tests.utils.fvp_utils ===================== .. py:module:: tests.utils.fvp_utils Attributes ---------- .. autoapisummary:: tests.utils.fvp_utils.logger Classes ------- .. autoapisummary:: tests.utils.fvp_utils.FvpUtils Module Contents --------------- .. py:data:: logger .. py:class:: FvpUtils .. py:attribute:: cpu_utils .. py:method:: check_rng(platform_base_obj, hw_random, dev) Validate RNG sysfs entry contains the expected device identifier. :param platform_base_obj: Platform fixture with console access. :param hw_random: Path to RNG sysfs node to inspect. :param dev: Expected RNG device name. :raises RuntimeError: when command execution fails on the target. .. py:method:: check_devices(platform_base_obj, cls, min_count, search_drivers) Validate device class population and expected driver bindings. :param platform_base_obj: Platform fixture with console access. :param cls: Sysfs device class name. :param min_count: Minimum number of class devices expected. :param search_drivers: acceptable driver names for the class devices. :raises AssertionError: If device count is below minimum or no expected driver is found.