We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5663da6 commit c527277Copy full SHA for c527277
reframe/frontend/cli.py
@@ -1175,16 +1175,14 @@ def module_unuse(*paths):
1175
parsed_job_options.append(f'--{optstr} {valstr}')
1176
1177
exec_policy.sched_options = parsed_job_options
1178
- max_retries = int(options.max_retries)
1179
-
1180
- max_failures = int(options.maxfail)
1181
- if max_failures < 0:
+ if options.maxfail < 0:
1182
raise errors.ConfigError(
1183
f'--maxfail should be a non-negative integer: '
1184
f'{options.maxfail!r}'
1185
)
1186
1187
- runner = Runner(exec_policy, printer, max_retries, max_failures)
+ runner = Runner(exec_policy, printer, options.max_retries,
+ options.maxfail)
1188
try:
1189
time_start = time.time()
1190
session_info['time_start'] = time.strftime(
0 commit comments