|
|
## Test .json
|
|
|
The test configuration is a .json file located in the test directory.
|
|
|
Here the description of the fields:
|
|
|
|
|
|
* `name` (string): name of the test. Must be equal to the name of the directory.
|
|
|
* `authors` (list of strings): list of authors responsible for this test.
|
|
|
* `description` (string): small description of the use case.
|
|
|
* `exclude` (list of strings): list of tags to exclude; if a build has at least one tag included in the exclude list, it will be ignored.
|
|
|
* `include` (list of strings): list of tags to include; to run this test, a build needs to have all its tags that are included in the include list.
|
|
|
* `modules` (list of strings): list of modules necessary to run this test.
|
|
|
* `postprocess` (string): postprocess tool. Choice between `mpio2txt` and `alya2pos`.
|
|
|
* `executions` (list of {}): list of the executions. Each item is a dictionnary. Fields of each item are:
|
|
|
* `mpi` (int): number of MPI processes
|
|
|
* `openmp` (int): number of OpenMP threads
|
|
|
* `alya` (string, optional): replacement command for running this test. Replacement values: `[MPI]` (MPI process), `[ALYA]` (alya executable)
|
|
|
* `pp` (string, optional): replacement command for running the post-process. Replacement values: `[ALYA-PATH]` (root path of alya), `[POST]` (postprocess command)
|
|
|
* `comparisons` (list of {}): list of the comparisons. Each item is a dictionnary. Fields of each item are:
|
|
|
* `file` (string): file to compare
|
|
|
* `method` (string): comparison method ("between `absolute`, `relative`, `power`)
|
|
|
* `tolerance` (float/int/string): tolerance value associated to the method. Absolute and relative require a float, power an integer. String are converted.
|
|
|
|
|
|
Here, you will find an example of json file for tests:
|
|
|
|
... | ... | |