|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Build tests on demand (always available, even if MXLIB_BUILD_TESTS=OFF):
Configure with tests enabled:
With MXLIB_BUILD_TESTS=ON, test executables are part of the default build. With MXLIB_BUILD_TESTS=OFF, they are skipped by default and built only via tests/mxlibTests targets.
Build all test executables:
Run tests:
Run the CTest test suite directly:
Build and run a single test source (Makefile.one equivalent):
Coverage generation is integrated into CMake and modeled after the MagAOX flow.
Prerequisites:
Generate an HTML coverage report:
Build Doxygen docs directly from CMake:
Optionally include docs in the default build:
Optional: tune coverage test timeout (default 300 seconds):
Coverage artifacts are written under _build/:
_build/coverage.info_build/coverage_filtered.info_build/doc/html/coverage/index.html_build/doc/html/index.htmlClean coverage artifacts:
Convenience scripts are also available:
tests/coverage/make_coveragetests/coverage/update_coverage