dev:regtesting
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dev:regtesting [2015/09/01 07:58] – [CP2K Regression Testing] vondele | dev:regtesting [2018/10/08 19:58] – oschuett | ||
---|---|---|---|
Line 6: | Line 6: | ||
==== Dashboard ==== | ==== Dashboard ==== | ||
- | A number of regtests are run automatically by various members of our community. The results of these tests are collected centrally at the [[http:// | + | A number of regtests are run automatically by various members of our community. The results of these tests are collected centrally at the [[http:// |
==== Code Coverage ==== | ==== Code Coverage ==== | ||
Line 13: | Line 13: | ||
===== How does it work? ===== | ===== How does it work? ===== | ||
- | The regression test suite is run using the [[src>cp2k/tools/ | + | The regression test suite is run using the [[src> |
It performs the following tasks: | It performs the following tasks: | ||
* update to the current SVN version (including new tests) | * update to the current SVN version (including new tests) | ||
Line 23: | Line 23: | ||
===== Running the regtests ===== | ===== Running the regtests ===== | ||
+ | |||
+ | ==== Step 0: make based testing ==== | ||
+ | |||
+ | * If you are able to build and run cp2k on the local machine the easiest way is to start the regtesting by running '' | ||
+ | * Be careful about the value of '' | ||
+ | * If this fails (e.g. on batch systems), continue with Step 1 else go to interpretation. | ||
==== Step 1: Preparation ==== | ==== Step 1: Preparation ==== | ||
- | * You must be able to build and run cp2k on the given machine, the rest should be ' | ||
* Decide on a directory for doing the regtest, there will be plenty of files in this dir (after a while) so make it something like '' | * Decide on a directory for doing the regtest, there will be plenty of files in this dir (after a while) so make it something like '' | ||
* Checkout a version of cp2k into '' | * Checkout a version of cp2k into '' | ||
Line 32: | Line 37: | ||
==== Step 2: Running ==== | ==== Step 2: Running ==== | ||
< | < | ||
- | $ cp2k/tools/ | + | $ tools/ |
Usage: do_regtest [OPTION] | Usage: do_regtest [OPTION] | ||
Run the CP2K regression test suite | Run the CP2K regression test suite |
dev/regtesting.txt · Last modified: 2023/10/19 14:03 by krack