summaryrefslogtreecommitdiff
path: root/Help/envvar/CTEST_NO_TESTS_ACTION.rst
blob: 2bc86dc6cdc718370771dab287097a6231901ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.