diff --git a/src/integrationtest/data_classes.py b/src/integrationtest/data_classes.py index 1b3a73f..8a3bf5c 100755 --- a/src/integrationtest/data_classes.py +++ b/src/integrationtest/data_classes.py @@ -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, diff --git a/src/integrationtest/integrationtest_drunc.py b/src/integrationtest/integrationtest_drunc.py index f6fe498..9813ff3 100755 --- a/src/integrationtest/integrationtest_drunc.py +++ b/src/integrationtest/integrationtest_drunc.py @@ -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,