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

Feature request: Support using environment variables in the definition of variables in EnvVars section #132

Open
hagertnl opened this issue Sep 19, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@hagertnl
Copy link
Contributor

Currently, in rgt_test_input.ini, a line like:

[EnvVars]
MY_SCRATCH = $HOME/Scratch

results in $HOME not being expanded, and is equivalent to export MY_SCRATCH='$HOME/Scratch'.

It would be very useful to run the definition of environment variables through an interpreter to automatically replace some of these. I think that the harness should emit a warning and leave the variable uninterpreted if the variable is not found in the environment.

@hagertnl hagertnl added enhancement New feature or request good first issue Good for newcomers labels Sep 19, 2023
@hagertnl
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant