CI/CD Tests consist in comparing the output produced by TChecker tools, to an expected output. The expected outputs are stored in the repository and may need to be updated when algorithms change (in particular, if the output of the algorithms change).
It can be checked if tests need to be updated running the command make test
from the build
directory.
If update is required, then follow these steps:
- configure with
cmake
as usual - then, run
make
with targetssave
,save-bugfixes
,save-simple-nr
andsave-algos
- finally, run the tests with
make test
- commit the new version of the expected outputs
Notice that it may be necessary to build successively with USEINT16
, USEINT32
(default)
and USEINT64
to update all the tests.