Regression Tests

    Table of contents
    No headers

    Version as of 03:54, 21 Nov 2019

    to this version.

    Return to Version archive.

    View current version

    The Gromacs regression tests are mainted on gerrit. They can be obtained by

    git clone

    or  for developers:

    git clone ssh://

    To add new tests for mdrun features

    1. Create a new folder inside e.g. complex
    2. Create inside your test folder grompp.mdp, conf.gro and (and itp files if your requires those)
    3. Run both in single and double precision to create reference values
    4. Upload tests to gerrit. The commit message should contain the version number / commit id of the code version use to generate the reference values.

    To add new tests for tools

    1. Create a new cfg file or add lines to an existing cfg file in the tools folder
    2. Run to create referene values 
    3. Upload tests to gerrit

    An example commit which adds tests is here.

    Jenkins automatically runs all tests for all build configurations. The regressiontests results are show on the Jenkins page under "Test" and a test report looks like this.

    Jenkins also automatically computes the code coverage. This is currently only done when the regressiontests are modifified not when the tests are modified. The code coverage of the regressiontests for the 4.5 source is here and for the regressiontests and the unit tests together for the master branch source is here.

    Page last modified 12:08, 17 May 2012 by rolandschulz