CTEST_NO_TESTS_ACTION — CMake 4.2.6 Documentation

# CTEST_NO_TESTS_ACTION

Added in version 3.26.

This is a CMake Environment Variable. Its initial value is taken from the calling process environment.

Environment variable that controls how `ctest` handles cases when there are no tests to run. Possible values are: `error`, `ignore`, empty or unset.

The `--no-tests=<action>` option to `ctest` overrides this environment variable if both are given.