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

Added Travis tests #15

Merged
merged 11 commits into from
Apr 19, 2020
Merged

Added Travis tests #15

merged 11 commits into from
Apr 19, 2020

Conversation

ewu63
Copy link
Collaborator

@ewu63 ewu63 commented Apr 19, 2020

I added the examples as tests, which is at least better than nothing. Currently we just run each example (with one proc only, so not testing MPI), and verify that cgns_utils info and cgns_utils blockSizes give the expected outputs. No checking of mesh quality or coordinates is done.

Things are run in command line via subprocess, which is probably not great. Ideally we include the run script in the testing script, so we can test MPI also. We can do the same with cgns_utils and not have to parse the stdout to pick out integers. These integers are also hard-coded in the file, but could be split out into a reference file.

The build fails now, due to this PR for cgns utilities not yet included in the Docker image. By tomorrow this should be updated and the test should succeed.

@ewu63 ewu63 marked this pull request as ready for review April 19, 2020 02:38
@ewu63 ewu63 requested a review from a team as a code owner April 19, 2020 02:38
@ewu63
Copy link
Collaborator Author

ewu63 commented Apr 19, 2020

Tests are now passing, after new Docker images from Docker Hub is used.

@eirikurj eirikurj merged commit 5fb78e3 into mdolab:master Apr 19, 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.

2 participants