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

add support for passing a sys_config to common test #1231

Merged
merged 1 commit into from
Jun 11, 2016

Conversation

tsloughter
Copy link
Collaborator

Follows the same pattern as shell to set env variables for applications from a config file but in this case for the common test provider.

Examples:

$ rebar3 ct --sys_config=config/sys.config

In rebar.config:

{ct_opts, [{sys_config, ["config/sys.config"]]]}

],

[Config | lists:merge(SubConfigs)].

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this fit better inside rebar_config?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Na, that is really mostly for the rebar.config functions.

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