-
Notifications
You must be signed in to change notification settings - Fork 28
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
Non-bats testing and repo structure update #322
base: main
Are you sure you want to change the base?
Conversation
Updated the land_utils application testing to not require bats. Included with this is a new testing framework, which was acquired from GNU coreutils. This testing framework, while not as extensive as bats, has several built-in features that improve the testing process. This update also begins the migration of the utilities out of the postpocessing and tools directories.
Add standard version text to -V option for mppnccombine
Add tasks, and configure cspell settings
Include print_version helper program
This has no changes, so it will not build
Other fixes found during testing
Other fixes to allow in-source builds
Next the "cleanup"
Cleaned up comments in tests, and added helper routines for fortran and tests
time_average adds provanance information to the output netcdf file
…_mosaic, and make_coupler_mosaic Added man pages for these items as well Added option to skip long tests Allow tests to find mpirun-like application
Same as previous test20
Changed one of the create input file programs, removing occam from the name add new create_mask_topog.c
While I haven't finished all the work on this, I have made a lot of progress. This PR is at 200+ file changes, so I wanted to get the review on this PR started. Not all of the tests are run, as some are expensive and at least one has taken down the GitHub action host. I did ensure that on my Mac that I'll open a new PR to include the remainder of the test migration and possibly move the "tools" applications into the "src" directory. |
Description
Updated the land_utils application testing so it does not require bats.
Included with this is a new testing framework, which was acquired from
GNU coreutils. This testing framework, while less extensive than
bats, has several built-in features that improve the testing process.
This update also begins the migration of the utilities out of the
postprocessing and tools directories.
Additional fixes in this PR:
--tags
option togit describe
to use any tag, not just annotated tags.Fixes #320 and #321
How Has This Been Tested?
Testing was performed on an Intel Mac, using homebrew for required
libraries (e.g., netCDF) and using
make check
. I also tested several Linux systems with different OSes (ubuntu and rocky 8).Checklist:
make distcheck
passes