Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to parameterize a List of Str. #3264

Open
homerdin opened this issue Sep 20, 2024 · 1 comment
Open

Unable to parameterize a List of Str. #3264

homerdin opened this issue Sep 20, 2024 · 1 comment

Comments

@homerdin
Copy link

The --parameterize option currently is unable to work with variables of type typ.List[str]. The inner , for the List will be treated as a , for the parameterize option.

@tteggelit
Copy link

One way that we're going to get around this is by creating sublists that are separated by something that isn't a , (e.g., a |) and then the test will then have split/replace that to make it a proper list in the test. So it would look something like -P nodes=node1|node2|node3,node4|node5|node6,node7 But being able to use a list of lists would be so much nicer.

@vkarak vkarak added this to the ReFrame 4.8 milestone Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants