Skip to content

Commit c101c12

Browse files
committed
Pass cli_job_options to the correct arg when creating the autodetecting job
1 parent 79a9e72 commit c101c12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reframe/frontend/autodetect.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ def _emit_custom_script(job, env, commands):
172172
job = Job.create(part.scheduler,
173173
part.launcher_type(),
174174
name='rfm-detect-job',
175-
sched_access=part.access + cli_job_options)
175+
sched_access=part.access,
176+
sched_options=cli_job_options)
176177
custom_command = runtime.runtime().get_option(
177178
'general/0/remote_install'
178179
)

0 commit comments

Comments
 (0)