Skip to content

[bugfix] Disallow command options from execution modes#3432

Merged
vkarak merged 2 commits intoreframe-hpc:developfrom
vkarak:feat/disallow-cmdopts-modes
Apr 1, 2025
Merged

[bugfix] Disallow command options from execution modes#3432
vkarak merged 2 commits intoreframe-hpc:developfrom
vkarak:feat/disallow-cmdopts-modes

Conversation

@vkarak
Copy link
Contributor

@vkarak vkarak commented Mar 16, 2025

Execution modes are not allowed to use command/action options. This was never the intent of execution modes and since 4.7, since --mode is not a command option, it was required to pass one in the command line. If the mode had already a command option, then which of the two would take effect was implementation defined. This PR disallows completely the use of command options in execution modes to avoid such abmiguities.

Closes #3424.

Copy link
Contributor

@victorusu victorusu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@github-project-automation github-project-automation bot moved this from Todo to In Progress in ReFrame Backlog Mar 31, 2025
@vkarak vkarak enabled auto-merge April 1, 2025 18:05
@vkarak vkarak merged commit 03036ef into reframe-hpc:develop Apr 1, 2025
37 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in ReFrame Backlog Apr 1, 2025
@vkarak vkarak deleted the feat/disallow-cmdopts-modes branch April 1, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

using an action option via mode configuration does not work

2 participants