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

Create gui test #32

Merged
merged 3 commits into from
Jun 15, 2017
Merged

Create gui test #32

merged 3 commits into from
Jun 15, 2017

Conversation

joakim-hove
Copy link
Contributor

@joakim-hove joakim-hove commented Jun 14, 2017

Task
Add a small script build/bin/gui_test which should be a one-command-no-setup to invoke the gui on a test case.

Approach
The idea is that with this script in place you can run:

cmd> cd build
cmd> make
cmd> bin/gui_test

in the ert repository. The gui_test script will set some environment variables and then invoke the ert gui properly. Some status information is printed in the console - it is important to read and understand this.

By default the script will invoke ert with this [config file[(https://github.com/Statoil/ert/blob/master/test-data/local/snake_oil_no_data/snake_oil.ert). The actual test will be perfomed in a temporary directory, by default the temporary directory will be deleted afterwards, but if you pass option: --keep the folder will be retained e.g. for debugging.

Optionally you can pass an alternative config file as commandline argument:

bin/gui_test /path/to/my_config_file

in that case the simulation will be performed in-place and no cleanup will be done afterwards.

Pre un-WIP checklist

  • Statoil tests pass locally
  • Have completed graphical integration test steps

@joakim-hove joakim-hove changed the title WIP: Create gui test Create gui test Jun 14, 2017
@stefoss23
Copy link

Works fine.

@joakim-hove joakim-hove merged commit 7db9367 into equinor:master Jun 15, 2017
@oyvindeide oyvindeide mentioned this pull request Jan 29, 2020
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.

None yet

2 participants