1.1.3.1.2.1.3. test_automation.targets.fvp.plugin

1.1.3.1.2.1.3.1. Attributes

logger

1.1.3.1.2.1.3.2. Functions

_login_primary(mgr, plat)

Log in on the primary console using the session manager's prompt maps.

_export_env(pytestconfig, plat)

Optionally export environment variables for FVP execution.

_find_crypto_lib(base_dir)

Search recursively for Crypto.so under the model base directory.

make_fvp_bundle(platform_dict, cfg)

Build and return a driver instance for the fvp platform.

1.1.3.1.2.1.3.3. Module Contents

test_automation.targets.fvp.plugin.logger[source]
test_automation.targets.fvp.plugin._login_primary(mgr, plat)[source]

Log in on the primary console using the session manager’s prompt maps.

Parameters:
Raises:

AssertionError – If the expected prompts are not observed on the primary console during login.

Returns:

None.

Return type:

None

test_automation.targets.fvp.plugin._export_env(pytestconfig, plat)[source]

Optionally export environment variables for FVP execution.

Sets FVP_BINARY from --fvp-binary or existing environment, and attempts to locate Crypto.so under the model base directory. If the provided binary path does not exist, the process exits.

Parameters:
  • pytestconfig – Pytest configuration object used to read command-line options.

  • plat (dict) – Platform configuration mapping (context only; not modified).

Returns:

None.

Raises:

SystemExit – If an invalid FVP binary path is supplied.

Return type:

None

test_automation.targets.fvp.plugin._find_crypto_lib(base_dir)[source]

Search recursively for Crypto.so under the model base directory.

Parameters:

base_dir (pathlib.Path)

Return type:

str

test_automation.targets.fvp.plugin.make_fvp_bundle(platform_dict, cfg)[source]

Build and return a driver instance for the fvp platform.

Parameters:
  • platform_dict – Platform configuration mapping as loaded from YAML.

  • cfg – Global configuration object and forwarded to the telnet session manager for context.

Returns:

A DriverBundle.

Return type:

test_automation.targets.registry.DriverBundle