1.1.3.1.2.1.3. test_automation.targets.fvp.plugin
1.1.3.1.2.1.3.1. Attributes
1.1.3.1.2.1.3.2. Functions
|
Log in on the primary console using the session manager's prompt maps. |
|
Optionally export environment variables for FVP execution. |
|
Search recursively for Crypto.so under the model base directory. |
|
Build and return a driver instance for the |
1.1.3.1.2.1.3.3. Module Contents
- test_automation.targets.fvp.plugin._login_primary(mgr, plat)[source]
Log in on the primary console using the session manager’s prompt maps.
- Parameters:
mgr (test_automation.targets.fvp.autofvpnetworking.TelnetSessionManager) – Active
TelnetSessionManagerthat manages console sessions.plat (dict) – Platform configuration mapping.
- 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_BINARYfrom--fvp-binaryor existing environment, and attempts to locateCrypto.sounder 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
fvpplatform.- 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: