Skip to content

ctest: add DETERMINISTIC property

Gregor Jasny requested to merge gjasny/cmake:deterministic-test into master

In our CMake project we run some linting steps as ctests. Some of those take more than 30 seconds to execute. We also run all tests on feature branches five times to catch flakiness as early as possible. Due to the long-running linting tests that needlessly increases test runtime because the linting is considered deterministic and never flaky.

The newly added DETERMINISTIC test property avoids any repetition for those tests.

Merge request reports