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

e2e: allow templating in test suite variable files #680

Merged
merged 1 commit into from
Jul 5, 2021

Conversation

askervin
Copy link
Contributor

@askervin askervin commented Jul 2, 2021

Test suite directories contain files varname.var* from which
environment variables are created for run.sh. This extension enables
using framework's common templating in variables when the file is
named "varname.var.in.*". Templating allows, for instance, expanding
environment values and giving default values when user has not
explicitly given them. As an example of both cases:
containerd_src.var.in.sh (sets containerd_src variable) contains
${containerd_src:-$GOPATH/src/github.com/containerd/containerd}

Test suite directories contain files varname.var* from which
environment variables are created for run.sh. This extension enables
using framework's common templating in variables when the file is
named "varname.var.in.*". Templating allows, for instance, expanding
environment values and giving default values when user has not
explicitly given them. As an example of both cases:
containerd_src.var.in.sh (sets containerd_src variable) contains
${containerd_src:-$GOPATH/src/github.com/containerd/containerd}
@klihub klihub merged commit b595996 into intel:master Jul 5, 2021
@klihub klihub mentioned this pull request Oct 5, 2021
25 tasks
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