CTest
CTest is a testing frontend and CDash dashboard client for CMake. CTest is used in multiple ways:
ctest --test-dir <build_dir>
to run tests defined in CMakeLists.txt using add_test- CDash client
- CTest script runner (including as CDash client) via
ctest -S myscript.cmake
2024
- 2024-12-16 – CTest stdin pipe
- 2024-04-29 – CTest TEST_LAUNCHER target property
- 2024-04-28 – Detect CI via environment variable
- 2024-03-21 – CTest parallel run by default
- 2024-02-19 – CMake TARGET_RUNTIME_DLL_DIRS for CTest
- 2024-01-29 – CTest combines stdout and stderr
2023
- 2023-11-01 – CTest WILL_FAIL segfault SIGABRT catch
- 2023-03-05 – CMake matlab_add_mex() with CTest
- 2023-03-03 – Use CMake file-api from Python
- 2023-03-02 – CTest resume testing
2022
- 2022-10-13 – Cron log file
- 2022-10-02 – CTest set environment variable
- 2022-07-15 – CTest CDash run only once
- 2022-05-01 – CMake CTest single command build and test
- 2022-04-28 – CMake, Python and Pytest
- 2022-04-24 – ctest_empty_binary_directory usage
- 2022-04-11 – CTest update command
2021
- 2021-06-10 – Diagnose CTest failures from logs
- 2021-05-31 – CMake CTest subset test label
- 2021-03-29 – List all CMake tests with CTest