Code review #913
closedCreate a test and make it work on travis.ci
Description
We need to have a kind of global test covering the most possible functionalities of scamp, to alert us of a possible regressio. For this, we need some input files (input catalogs, reference catalog), the expected result and method to verify that.
Sébastien.
Updated by Emmanuel Bertin over 4 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 30
(/) Created a new tests
branch on GitHub with a tests/
sub-directory.
(/) Tests can run with the usual make check
command.
(/) Created a first test01.py
test that checks for the MATCHing contrasts, number of cross-match detections, and standard deviations in the calibrated result on a set of 7 MEGACAM catalogs.
(!) Note that the script test01.py
normally writes info the standard output, although the make check
seems to remove all output (how to change that?).
(!) I haven't updated the Travis file (yet). Should be straightforward (add a make check
).
Updated by Sébastien Serre over 4 years ago
- Status changed from In Progress to Resolved
It is done. I have to set CHECKPLOT_DEV to NULL to make it work on travis.
Updated by Sébastien Serre over 4 years ago
- Status changed from Resolved to Closed