Files
CMake/Help/envvar/CTEST_NO_TESTS_ACTION.rst
friendlyanon 0661de58d8 ctest(1): Add CTEST_NO_TESTS_ACTION env var
This environment variable provides a default value for the
--no-tests=<action> command line argument.
2023-01-13 13:33:39 +01:00

15 lines
415 B
ReStructuredText

CTEST_NO_TESTS_ACTION
---------------------
.. versionadded:: 3.26
.. include:: ENV_VAR.txt
Environment variable that controls how :manual:`ctest <ctest(1)>` handles
cases when there are no tests to run. Possible values are: ``error``,
``ignore``, empty or unset.
The :option:`--no-tests=\<action\> <ctest --no-tests>` option to
:manual:`ctest <ctest(1)>` overrides this environment variable if both
are given.