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

Testing framework: support ${count} on REPEAT #1729

Closed
rfdavid opened this issue Jun 28, 2023 · 0 comments · Fixed by #1733
Closed

Testing framework: support ${count} on REPEAT #1729

rfdavid opened this issue Jun 28, 2023 · 0 comments · Fixed by #1733
Assignees

Comments

@rfdavid
Copy link
Collaborator

rfdavid commented Jun 28, 2023

Testing framework REPEAT only repeats fixed strings. In some situations, it's useful to generate different names, for example, creating 2000 different column names. A solution is to support representing ${count} as a count number:

-DEFINE COLS REPEAT 2500 "col${count}, "
COLS = "col0, col1, ... col2500, "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant