Skip to content

variables: syntax error check in env_var_equals#3378

Closed
oharboe wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
Pinata-Consulting:variables-names-check
Closed

variables: syntax error check in env_var_equals#3378
oharboe wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
Pinata-Consulting:variables-names-check

Conversation

@oharboe

@oharboe oharboe commented Aug 4, 2025

Copy link
Copy Markdown
Collaborator

@jeffng-or Thoughts?

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
@jeffng-or

Copy link
Copy Markdown
Contributor

@jeffng-or Thoughts?

This is verifying that a variable used in env_var_equals has been documented in variables.yaml? Sounds reasonable.

Would you want to extend this to env_var_exists_and_non_empty in case someone fat fingers the env var there?. It looks like it would cover append_env_var and env_var_or_empty as well.

@oharboe

oharboe commented Aug 4, 2025

Copy link
Copy Markdown
Collaborator Author

Yes, that was the idea. I'm not going to pick up this work now, but I though it would be nice to have in place and save us some more agony.

Feel free cherry pick this & continue if you find it useful.

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 this pull request may close these issues.

2 participants