IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 126 and Version 127 of ippToPsps


Ignore:
Timestamp:
Mar 23, 2011, 11:48:22 AM (15 years ago)
Author:
rhenders
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ippToPsps

    v126 v127  
    6868
    6969The logic for this is that errors may occur during the merge phase and it is useful to have local copies of offending batches for debugging purposes.
     70
     71
     72= Unit testing =
     73
     74Unit tests exist for all batch types in the {{{unitTests}}} folder. These tests confirm that data integrity is maintained after code changes have been made. All batch tests can be run like this
     75
     76{{{
     77cd unitTests
     78./runAllTests.sh
     79}}}
     80
     81Or, individual test like this, for detections:
     82
     83
     84{{{
     85cd unitTests/detectionTest
     86./run.sh
     87}}}
     88
     89All test create batches in a 'test' mode, meaning, a current date will not be used and, in the case of detections, only chip 33 (instead of all 60) will be processed. The resultant FITS files are then compared (using {{{diff}}}) with FITS files known to be correct. The user is informed if they are identical or if they differ.
    7090
    7191= Recovery system design =