... | ... | @@ -92,54 +92,3 @@ Last, run a testsuite on your test branch `mytests` to validate your changes. On |
|
|
Go to the test directory that is the most appropriate (for instance `fast/nastin` if your test is related to a nastin feature), and add a new directory and `.json` file the same way it is done for the existing tests.
|
|
|
Add the files to the git repository, commit them and push them. Follow the same process as for modifying a test.
|
|
|
|
|
|
## Test .json
|
|
|
|
|
|
Here, you will find an example of json file for tests:
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"authors": [
|
|
|
"jean.pierre@bsc.es"
|
|
|
],
|
|
|
"comparisons": [
|
|
|
{
|
|
|
"file": "non_prem_box_SqSq-CON01-00000010.post.mpio.txt",
|
|
|
"method": "absolute",
|
|
|
"tolerance": "1.0e-7"
|
|
|
},
|
|
|
{
|
|
|
"file": "non_prem_box_SqSq-CON02-00000010.post.mpio.txt",
|
|
|
"method": "absolute",
|
|
|
"tolerance": "1.0e-7"
|
|
|
}
|
|
|
],
|
|
|
"description": "Example of json file for testsuite test",
|
|
|
"exclude": [
|
|
|
"special"
|
|
|
],
|
|
|
"executions": [
|
|
|
{
|
|
|
"commands": {
|
|
|
"alya": "mpirun -np [MPI] [ALYA] abc; mpirun -np [MPI] [ALYA] efg"
|
|
|
"pp": "[ALYA-PATH]/Utils/Users/script.py ; [POST] non_prem_box_SqSq"
|
|
|
},
|
|
|
"mpi": 1,
|
|
|
"openmp": 0
|
|
|
},
|
|
|
{
|
|
|
"mpi": 3,
|
|
|
"openmp": 5
|
|
|
},
|
|
|
],
|
|
|
"include": [
|
|
|
"i8", "gfortran"
|
|
|
],
|
|
|
"modules": [
|
|
|
"nastin",
|
|
|
"temper",
|
|
|
"chemic"
|
|
|
],
|
|
|
"name": "non_prem_box_SqSq",
|
|
|
"postprocess": "mpio2txt"
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |