-
Notifications
You must be signed in to change notification settings - Fork 67
Add ctest automation framework #724
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
Conversation
|
Pretty cool! I did not yet find the integration tests themselves, but I will keep looking xD |
|
@sebastianbeyer https://github.com/FESOM/fesom2/blob/add_ctest_automation/cmake/FesomTesting.cmake is where the integration tests are, it is meant inside cmake dir because to use these as sort of fixtures in future for all other tests for different setups. But right now only main fesom test is done similar to what happens in fesom general test in CI. May restructure this once more tests are added. this was trying to have minimal changes for PR. to test: there is more model changes to be done before all tests are work as intended but this is start, right now model exits with exit code 0 for even namelist errors. which any testing says it passed, we are forced to check logs and/or output to know for sure we were successful. Insted we should use exit codes so that we can cleanly know if run was successful (will roll that out soon in one of next PRs). |
adds better test automation framework then our custom automation we have to test fesom.
testdir till that switch is made we keep both.