This is an old revision of the document!


Tests

As of revision 6515, directory with test-cases can be found under [ELMER_TRUNK]/elmerice/Tests.

Run the tests

Tests are run with command line

runTest.sh

Options

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 

Results

  • On screen

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

  • In repertory [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).

How to make test-case

See details in section B) in [ELMER_TRUNK]/elmerice/Tests/ElmerIceSolver_test_how-to.txt.

compilation/tests.1391171379.txt.gz · Last modified: 2014/01/31 12:29 by ltavard
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0