1.1.3.1.1.1.3. test_automation.targets.fpga.fpga_runtime_options
Runtime option dataclasses used by the FPGA networking and controller layers for log paths, remote command execution, and UART login handling.
1.1.3.1.1.1.3.1. Classes
Log destination overrides. |
|
Structured specification for executing a remote command. |
|
Configuration options for waiting on a shell prompt in a UART log. |
|
Configuration options for waiting on a UART login prompt and shell prompt. |
1.1.3.1.1.1.3.2. Module Contents
- class test_automation.targets.fpga.fpga_runtime_options.LogPathOptions[source]
Log destination overrides.
- Parameters:
log_dir – Optional base directory for logs (default: <cwd>/logs).
log_prefix – Optional prefix for generating timestamped log folders.
- class test_automation.targets.fpga.fpga_runtime_options.RemoteRunSpec[source]
Structured specification for executing a remote command.
- Parameters:
env_setup_cmds – Sequence of shell commands used to prepare the environment before running the main remote command.
remote_cmd – The primary command to execute on the remote host.
remote_workdir – Optional remote working directory. If provided, the execution flow will change into this directory before running
remote_cmd.
- class test_automation.targets.fpga.fpga_runtime_options.ShellPromptWaitOptions[source]
Configuration options for waiting on a shell prompt in a UART log.
- Parameters:
timeout_s – Maximum time to wait for detection of login prompt.
poll_s – Polling interval in seconds between login prompt checks.
tail_lines – Number of lines from the end of the UART log inspected when searching for the login marker.
- class test_automation.targets.fpga.fpga_runtime_options.LoginWaitOptions[source]
Configuration options for waiting on a UART login prompt and shell prompt.
- Parameters:
timeout_s – Maximum time to wait for detection of login prompt.
poll_s – Polling interval in seconds between login prompt checks.
tail_lines – Number of lines from the end of the UART log inspected when searching for the login marker.
shell_prompt_timeout_s – Maximum time to wait for the shell prompt after sending the login username.