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

2.0 - Test Config - Run #50

Open
pflarr opened this issue Sep 5, 2018 · 0 comments
Open

2.0 - Test Config - Run #50

pflarr opened this issue Sep 5, 2018 · 0 comments
Milestone

Comments

@pflarr
Copy link
Collaborator

pflarr commented Sep 5, 2018

Test Run Scripts and Configuration

When a test is to be run, a script will be generated (dependent on the scheduler), to setup the environment for the test, and run it. Several changes to the test section of test configs are necessary to support this. All of this is towards the goal of reducing the need for separate test wrapper scripts.

Cmd -> Cmds

We can now allow a sequence of shell (bash) commands for each test run. These can be used to generate the test data set, change directories as needed, and to add any other extra steps to the test execution.

If any of these commands should fail, the test should fail and the line of cmds that failed should be logged.

Test Args

Test args are now to be included directly in the test command lines. If multiple permutations of test args are needed, this can be accomplished with dynamic string substitution. The addition of multiple commands makes this necessary, as it's now unclear to which cmd test_args would apply.

env

A dictionary of key->value pairs, which will be exported as environment variables in the test run script.

modules

A list of modules to load, in the given order. See #51.

Other

  • Move the 'scheduler' key to the test_config root.
@pflarr pflarr added this to the 2.0 milestone Sep 5, 2018
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

No branches or pull requests

1 participant