... | ... | @@ -105,39 +105,4 @@ Stopping the application |
|
|
|
|
|
1. Execute ./yafits down
|
|
|
|
|
|
Performing tests
|
|
|
================
|
|
|
|
|
|
Running the tests
|
|
|
-----------------
|
|
|
|
|
|
1. Execute ./yafits test
|
|
|
|
|
|
This will generate a report file in the Yafits home directory
|
|
|
|
|
|
|
|
|
Configuring the tests
|
|
|
---------------------
|
|
|
|
|
|
The configuration is done through the .yafits.bashrc file.
|
|
|
|
|
|
```
|
|
|
# contains reference json files against which the tests will be performed
|
|
|
export YAFITS_REFDIR=/obs/partemix/yafits_tmp/REF
|
|
|
|
|
|
# contains the test json files
|
|
|
export YAFITS_OBJDIR=/obs/partemix/yafits_tmp/OBJ
|
|
|
|
|
|
# if true, a json data file will be created in YAFITS_OBJDIR for each opened data cube
|
|
|
export YAFITSV_TESTMODE=true
|
|
|
```
|
|
|
|
|
|
How does it work
|
|
|
----------------
|
|
|
|
|
|
All the files existing in YAFITS_REFDIR will be compared to the file with the same name in YAFITS_OBJDIR
|
|
|
The result of the comparison will be stored in a report file in the home directory of Yafits
|
|
|
|
|
|
|
|
|
|
|
|
|