Improve Allen test infrastructure
This MR improves the Allen test infrastructure in the following manners:
- Remove included catch.hpp, and register submodule Catch2 instead, pointing to last stable version.
- Unit tests are under
test/unit_tests
. - Added a simple test for the prefix sum function.
- CPU and CUDA jobs that build tests, keep the artifacts, and run the tests have been added to the gitlab CI (only when run manually or in the nightly).
Note: Only tests defined in test/unit_tests
will be executed in the Allen CI.
Eg. of manually-issued pipeline, which includes a run of the unit tests for both CPU and CUDA in the Test stage: https://gitlab.cern.ch/lhcb/Allen/-/pipelines/2166617
Edited by Daniel Hugo Campora Perez