This is an old revision of the document!
As of revision 6515, directory with test-cases can be found under [ELMER_TRUNK]/elmerice/Tests
.
Tests are run with command line
runTest.sh
Default option wich runs all the tests:
runTest.sh
For running all tests and sanding results by e-mail:
runTest.sh --all or -a
Next option runs only selection of directory with “space-separator”, and there is possibility to send results by e-mail:
runTest.sh --selection or -s
You choose one ElmerIceSolver keyword and it runs all directories with this solver, and there is possibility to send results by e-mail:
runTest.sh --solvers or -so
Resume all the options:
runTest.sh --help
Run the tests will print some informations:
============================================================= Test ElmerIce Solvers Option []: All tests without email option ============================================================= test 1 : Buoyancy [FAILED] Comparison failed: look at [File_log/Buoyancy.log] for details test 2 : ComputeDevStress [PASSED] test 3 : Contact [PASSED - Diff Time-]
[FAILED] in case where difference between results are upper 1E-8
[PASSED] in case where there is no difference
[PASSED - Diff Time-] where there is a difference with time CPU
[ELMER_TRUNK]/elmerice/Tests/File_log/
This repertory is created if there is some troubles in the simulation (OutputSIF_<TestName>.log
) or after the comparison of the results (Output_<TestName>.log
).
See details in section B) in [ELMER_TRUNK]/elmerice/Tests/ElmerIceSolver_test_how-to.txt
.