Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/integrationtest/data_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ class integtest_param_base_class:
# whether the HDF5 files should be deleted at the end of the test
remove_hdf5_files: bool = False

# command-line arguments to be passed to run control
dunerc_cmd_args: list[str] = field(default_factory=list)

@dataclass
class integtest_params_for_generated_dunedaq_config(integtest_param_base_class):
# *** Parameters that are needed for both generated and predefined configs,
Expand Down
5 changes: 3 additions & 2 deletions src/integrationtest/integrationtest_drunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,9 @@ class RunResult:
time_before = time.time()
# 25-Mar-2026, KAB: use subprocess.Popen to manage the run control session so that we can
# capture the console output and pass it back to the user for inspection and validation.
popen_command_list = [dunerc] + dunerc_option_strings + [process_manager_type] \
+ [str(create_config_files.dunedaq_config_file)] + [str(create_config_files.integtest_params.config_session_name)] \
popen_command_list = [dunerc] + create_config_files.integtest_params.dunerc_cmd_args \
+ dunerc_option_strings + [process_manager_type] + [str(create_config_files.dunedaq_config_file)] \
+ [str(create_config_files.integtest_params.config_session_name)] \
+ [str(create_config_files.integtest_params.daq_session_name)] + run_control_commands
rc_process = subprocess.Popen(
popen_command_list,
Expand Down